libredirect/src/pages/popup/switches.pug

10 lines
542 B
Plaintext
Raw Normal View History

2023-05-09 07:58:34 +02:00
each _, service in services
div(class=service + " some-block hide")
2023-01-30 13:46:10 +01:00
a(class="title" href=services[service].url)
if services[service].imageType == 'svgMono'
2023-01-19 18:32:32 +01:00
img(class='dark' src=`/assets/images/${service}-icon.svg`)
img(class='light' src=`/assets/images/${service}-icon-light.svg`)
else
2023-01-19 18:32:32 +01:00
img(src=`/assets/images/${service}-icon.${services[service].imageType}`)
h4=services[service].name
2022-12-31 09:01:50 +01:00
input(class=service + "-enabled" type="checkbox")