Re-order the popup menu items to improve UI / UX

As discussed in #899
This commit is contained in:
CompileNix 2024-03-10 20:38:49 +01:00
parent b6c98028b9
commit e75eab9798
No known key found for this signature in database
GPG Key ID: 3C713073CAC92AE0
1 changed files with 13 additions and 11 deletions

View File

@ -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")
script(type="module" src="./popup.js")