about summary refs log tree commit diff stats
path: root/src/pages/widgets/switches.ejs
blob: e3ffdae790cf487aa9fcbb71ae7f4697ac306e11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<% for (const service in services) { -%>
<div class="<%= service %> some-block"><a class="title" href="<%= services[service].url %>">
  <% if (services[service].imageType != "svgMono") { _%>
  <img src="../../assets/images/<%= service %>-icon.<%= services[service].imageType %>"/>
  <% } else { _%>
  <%- include ('src/assets/images/' + service + '-icon.svg') %>
  <% } _%>
  <h4 data-localise="__MSG_<%= service %>__"><%= services[service].name %></h4></a>
  <input class="<%= service %>-enabled" type="checkbox"/>
</div>
<% } %>