aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/popup/switches.pug
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/popup/switches.pug')
-rw-r--r--src/pages/popup/switches.pug10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pages/popup/switches.pug b/src/pages/popup/switches.pug
new file mode 100644
index 00000000..bd53ce7e
--- /dev/null
+++ b/src/pages/popup/switches.pug
@@ -0,0 +1,10 @@
+each _, service in services
+ div(class=service + " some-block hide")
+ a(class="title" href=services[service].url)
+ if services[service].imageType == 'svgMono'
+ img(class='dark' src=`/assets/images/${service}-icon.svg`)
+ img(class='light' src=`/assets/images/${service}-icon-light.svg`)
+ else
+ img(src=`/assets/images/${service}-icon.${services[service].imageType}`)
+ h4=services[service].name
+ input(class=service + "-enabled" type="checkbox") \ No newline at end of file