about summary refs log tree commit diff stats
path: root/src/pages/popup/popup.html
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.html
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.html')
-rw-r--r--src/pages/popup/popup.html12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/pages/popup/popup.html b/src/pages/popup/popup.html
index 2dcc12bc..6dc48478 100644
--- a/src/pages/popup/popup.html
+++ b/src/pages/popup/popup.html
@@ -8,6 +8,14 @@
   </head>
   <body dir="auto">
     <div class="current_site">
+      <div class="some-block" id="instance-div"><a class="title prevent">
+          <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" width="26px" fill="currentColor">
+  <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95c-.32-1.25-.78-2.45-1.38-3.56 1.84.63 3.37 1.91 4.33 3.56zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56-1.84-.63-3.37-1.9-4.33-3.56zm2.95-8H5.08c.96-1.66 2.49-2.93 4.33-3.56C8.81 5.55 8.35 6.75 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95c-.96 1.65-2.49 2.93-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z"></path>
+</svg>
+          <h4 id="instance"></h4>
+        </a>
+        <span id="end"><input type="checkbox" id="instance-enabled"/></span>
+      </div>
       <div class="youtube some-block"><a class="title" href="https://youtube.com">
     <img src="../../assets/images/youtube-icon.png"/>
     <h4 data-localise="__MSG_youtube__">Youtube</h4></a>
@@ -78,7 +86,7 @@
     <h4 data-localise="__MSG_fandom__">Fandom</h4></a>
   <input class="fandom-enabled" type="checkbox"/>
 </div>
-<div class="peertube some-block"><a class="title" href="https://search.joinpeertube.org">
+<div class="peertube some-block"><a class="title" href="https://joinpeertube.org">
     <img src="../../assets/images/peertube-icon.svg"/>
     <h4 data-localise="__MSG_peertube__">PeerTube</h4></a>
   <input class="peertube-enabled" type="checkbox"/>
@@ -196,7 +204,7 @@
     <h4 data-localise="__MSG_fandom__">Fandom</h4></a>
   <input class="fandom-enabled" type="checkbox"/>
 </div>
-<div class="peertube some-block"><a class="title" href="https://search.joinpeertube.org">
+<div class="peertube some-block"><a class="title" href="https://joinpeertube.org">
     <img src="../../assets/images/peertube-icon.svg"/>
     <h4 data-localise="__MSG_peertube__">PeerTube</h4></a>
   <input class="peertube-enabled" type="checkbox"/>