Merge pull request #900 from compilenix/patch-1

Re-order the popup menu items to improve UI / UX
This commit is contained in:
ManeraKai 2024-03-11 05:01:48 +00:00 committed by GitHub
commit 8b415d91e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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="../stylesheets/styles.css" rel="stylesheet")
link(href="./style.css" rel="stylesheet") link(href="./style.css" rel="stylesheet")
body(dir="auto") 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") div(class="block" id="change_instance_div" style="display: none")
button(class="title button bottom-button" id="change_instance") button(class="title button bottom-button" id="change_instance")
label(data-localise="__MSG_switchInstance__") Switch 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") 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") 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") div(class="block")
a(class="title button bottom-button" id="more-options") a(class="title button bottom-button" id="more-options")
label(data-localise="__MSG_settings__") Settings label(data-localise="__MSG_settings__") Settings