about summary refs log tree commit diff stats
path: root/src/pages/popup/popup.ejs
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-09 13:11:05 +0100
committerHygna <hygna@proton.me>2022-10-09 13:11:05 +0100
commit375f4371c3c5e703b07ae3e3d677315134a035ce (patch)
treef9168e19cf33e0a01e53b0fb72f3436e5db74ae3 /src/pages/popup/popup.ejs
parentChanged order of Mirror repos (diff)
downloadlibredirect-375f4371c3c5e703b07ae3e3d677315134a035ce.zip
Toggle current instance in popup
Fixed bug where testing latency of multiple frontends at the same time wouldn't save all of the timings
Diffstat (limited to 'src/pages/popup/popup.ejs')
-rw-r--r--src/pages/popup/popup.ejs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pages/popup/popup.ejs b/src/pages/popup/popup.ejs
index e862e0cb..e6cc6fca 100644
--- a/src/pages/popup/popup.ejs
+++ b/src/pages/popup/popup.ejs
@@ -8,6 +8,12 @@
   </head>
   <body dir="auto">
     <div class="current_site">
+      <div class="some-block" id="instance-div"><a class="title prevent">
+          <%- include('src/assets/images/instance-icon.svg', {services: services}) -%>
+          <h4 id="instance"></h4>
+        </a>
+        <span id="end"><input type="checkbox" id="instance-enabled"/></span>
+      </div>
       <%- include('src/pages/widgets/switches', {services: services}) -%>
       <div id="current_site_divider">
         <hr>