aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/widgets
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-04 17:36:38 +0100
committerHygna <hygna@proton.me>2022-10-04 17:36:38 +0100
commite4954d197fee859112381040b1d8f3ba8009df56 (patch)
tree40ecc0fe36ebde61faaab156ee985d727e35694b /src/pages/widgets
parentSwitched to html labels (diff)
downloadlibredirect-e4954d197fee859112381040b1d8f3ba8009df56.zip
Display if server is not found, made images in settings clickable
Diffstat (limited to 'src/pages/widgets')
-rw-r--r--src/pages/widgets/links.ejs16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/pages/widgets/links.ejs b/src/pages/widgets/links.ejs
index 6fa9514c..2373a101 100644
--- a/src/pages/widgets/links.ejs
+++ b/src/pages/widgets/links.ejs
@@ -1,13 +1,23 @@
<section class="links" id="links">
- <div class="title"><%- include ('src/assets/images/general-icon.svg') %><a href="#general" data-localise="__MSG_general__">General</a></div>
+ <div class="title">
+ <a href="#general">
+ <%- include ('src/assets/images/general-icon.svg') %>
+ <span data-localise="__MSG_general__">General</span>
+ </a></div>
<% for (const service in services) { -%>
<div class="title">
+ <a href="#<%= service %>">
<% if (services[service].imageType != "svgMono") { _%>
<img src="../../../assets/images/<%= service %>-icon.<%= services[service].imageType %>">
<% } else { _%>
<%- include ('src/assets/images/' + service + '-icon.svg') %>
<% } _%>
- <a href="#<%= service %>" data-localise="__MSG_<%= service %>__"><%= services[service].name %></a></div>
+ <span data-localise="__MSG_<%= service %>__"><%= services[service].name %></span>
+ </a></div>
<% }; -%>
- <div class="title"><%- include ('src/assets/images/about-icon.svg') %><a href="#about" data-localise="__MSG_about__">About</a></div>
+ <div class="title">
+ <a href="#about">
+ <%- include ('src/assets/images/about-icon.svg') %>
+ <span data-localise="__MSG_about__">About</span>
+ </a></div>
</section>