about summary refs log tree commit diff stats
path: root/src/pages/popup/switches.pug
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2023-09-18 13:12:00 +0300
committerManeraKai <manerakai@protonmail.com>2023-09-18 13:12:09 +0300
commit2e1de247ee7d1d3cb14b9e6a03b3e429a13b53ac (patch)
tree6417e4fe245d491d28ae9a4f1cbe7427b1f49a45 /src/pages/popup/switches.pug
parentAdded cache for ping https://github.com/libredirect/browser_extension/issues/773 (diff)
downloadlibredirect-2e1de247ee7d1d3cb14b9e6a03b3e429a13b53ac.zip
Add "Redirect (frontend) to Prefferred" https://github.com/libredirect/browser_extension/issues/767
Diffstat (limited to 'src/pages/popup/switches.pug')
-rw-r--r--src/pages/popup/switches.pug6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pages/popup/switches.pug b/src/pages/popup/switches.pug
index 5037bac2..bea107d2 100644
--- a/src/pages/popup/switches.pug
+++ b/src/pages/popup/switches.pug
@@ -7,4 +7,8 @@ each _, service in services
             else
                 img(src=`/assets/images/${service}-icon.${services[service].imageType}`)
             label=services[service].name
-        input(class=`${service}-enabled` type="checkbox" aria-label=`${services[service].name} toggle`)
\ No newline at end of file
+        div 
+            input(class=`${service}-enabled` type="checkbox" aria-label=`toggle ${services[service].name}`)
+            button(class=`${service}-change_instance title button` aria-label=`change instance for ${services[service].name}`)
+                svg(xmlns="http://www.w3.org/2000/svg" height="26px" width="26px" fill="currentColor")
+                    path(d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z")
\ No newline at end of file