aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/popup
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-03-11 05:01:48 +0000
committerGitHub <noreply@github.com>2024-03-11 05:01:48 +0000
commit8b415d91e6aec453904ec6d8ec3c91421a02ac9d (patch)
treedae2d54bcff0c5650504a7dc4784115a3656feca /src/pages/popup
parentFixed settings conversion on update (diff)
parentRe-order the popup menu items to improve UI / UX (diff)
downloadlibredirect-8b415d91e6aec453904ec6d8ec3c91421a02ac9d.zip
Merge pull request #900 from compilenix/patch-1
Re-order the popup menu items to improve UI / UX
Diffstat (limited to 'src/pages/popup')
-rw-r--r--src/pages/popup/popup.pug24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/pages/popup/popup.pug b/src/pages/popup/popup.pug
index 7e889702..d7ebdd49 100644
--- a/src/pages/popup/popup.pug
+++ b/src/pages/popup/popup.pug
@@ -6,16 +6,6 @@ html(lang="en")
link(href="../stylesheets/styles.css" rel="stylesheet")
link(href="./style.css" rel="stylesheet")
body(dir="auto")
- div(id="current_site")
- include /src/pages/popup/switches
- div(id="current_site_divider" style="display: none")
- hr
-
- div(id="all_sites")
- include /src/pages/popup/switches
-
- hr
-
div(class="block" id="change_instance_div" style="display: none")
button(class="title button bottom-button" id="change_instance")
label(data-localise="__MSG_switchInstance__") Switch Instance
@@ -40,6 +30,18 @@ html(lang="en")
svg(xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" preserveAspectRatio="xMinYMin meet" fill="currentColor")
path(d="M 17,20 V 11 Q 17,10.175 16.412,9.587 15.825,9 15,9 H 6.8 L 8.4,7.4 7,6 3,10 7,14 8.4,12.6 6.8,11 H 15 v 9 z" id="path2")
+ hr
+
+ div(id="current_site")
+ include /src/pages/popup/switches
+ div(id="current_site_divider" style="display: none")
+ hr
+
+ div(id="all_sites")
+ include /src/pages/popup/switches
+
+ hr
+
div(class="block")
a(class="title button bottom-button" id="more-options")
label(data-localise="__MSG_settings__") Settings
@@ -48,4 +50,4 @@ html(lang="en")
div(class="space")
script(type="module" src="../options/init.js")
- script(type="module" src="./popup.js") \ No newline at end of file
+ script(type="module" src="./popup.js")