about summary refs log tree commit diff stats
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/options/index.ejs13
-rw-r--r--src/pages/widgets/links.ejs7
2 files changed, 20 insertions, 0 deletions
diff --git a/src/pages/options/index.ejs b/src/pages/options/index.ejs
new file mode 100644
index 00000000..c17d1f0a
--- /dev/null
+++ b/src/pages/options/index.ejs
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html id="elementToShowWithJavaScript" lang="en">
+  <%- include('../widgets/head') %>
+  <body class="option" dir="auto">
+    <div id="pages">
+      <%- include('../widgets/links', {config: config}) %>
+      <%- include('widgets/general', {config: config}) %>
+      <%- include('widgets/services', {config: config}) %>
+      <%- include('widgets/about') %>
+    </div>
+  </body>
+  <script type="module" src="./index.js"></script>
+</html>
diff --git a/src/pages/widgets/links.ejs b/src/pages/widgets/links.ejs
new file mode 100644
index 00000000..eacfe91b
--- /dev/null
+++ b/src/pages/widgets/links.ejs
@@ -0,0 +1,7 @@
+<section class="links" id="links">
+  <div class="title"><img src="../../../assets/images/general-icon.svg"><a href="#general" data-localise="__MSG_general__">General</a></div>
+  <% config.services.forEach(service=>{ %>
+  <div class="title"><img src="../../../assets/images/<%= service %>-icon.<%= config.services[service].imageType %>"><a href="#<%= service %>" data-localise="__MSG_<%= service %>__"><%= service %></a></div>
+  <% }); %>
+  <div class="title"><img src="../../../assets/images/about-icon.svg"><a href="#about" data-localise="__MSG_about__">About</a></div>
+</section>