about summary refs log tree commit diff stats
path: root/src/pages/options/index.html
diff options
context:
space:
mode:
authorHygna <hygna@proton.me>2022-10-05 17:29:27 +0100
committerHygna <hygna@proton.me>2022-10-05 17:29:27 +0100
commita96f3188b7eac79f19f2bd438b13a310d3cea90b (patch)
treef30ed8e2c2c20398caf92009347ce64161fcd77d /src/pages/options/index.html
parentAdded LibreTranslate (diff)
downloadlibredirect-a96f3188b7eac79f19f2bd438b13a310d3cea90b.zip
Changes:
Added BreezeWiki as a frontend for Fandom

Closes https://github.com/libredirect/libredirect/issues/444

Futureproofed bug caused by adding new frontend/service
Diffstat (limited to 'src/pages/options/index.html')
-rw-r--r--src/pages/options/index.html120
1 files changed, 120 insertions, 0 deletions
diff --git a/src/pages/options/index.html b/src/pages/options/index.html
index 323984ed..faeb5124 100644
--- a/src/pages/options/index.html
+++ b/src/pages/options/index.html
@@ -84,6 +84,11 @@
     <span data-localise="__MSG_reuters__">Reuters</span>
   </a></div>
     <div class="title">
+  <a href="#fandom">
+    <img src="../../../assets/images/fandom-icon.svg">
+    <span data-localise="__MSG_fandom__">Fandom</span>
+  </a></div>
+    <div class="title">
   <a href="#peertube">
     <img src="../../../assets/images/peertube-icon.svg">
     <span data-localise="__MSG_peertube__">PeerTube</span>
@@ -314,6 +319,13 @@
     </div>
     <div>
   <div>
+    <img src="../../../assets/images/fandom-icon.svg">
+    <label data-localise="__MSG_fandom__" for="fandom">Fandom</label>
+      </div>
+      <input id="fandom" type="checkbox">
+    </div>
+    <div>
+  <div>
     <img src="../../../assets/images/peertube-icon.svg">
     <label data-localise="__MSG_peertube__" for="peertube">PeerTube</label>
       </div>
@@ -2201,6 +2213,114 @@
   </div>
     
 </section>
+<section class="option-block" id="fandom_page">
+  <div class="some-block option-block">
+    <h1 data-localise="__MSG_fandom__">Fandom</h1>
+  </div>
+  <hr>
+  <div class="some-block option-block">
+    <h4 data-localise="__MSG_enable__">Enable</h4>
+    <input id="fandom-enabled" type="checkbox">
+  </div>
+      <hr>
+      <div id="breezeWiki">
+        <div class="clearnet">
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_defaultInstances__">Default Instances</h4>
+      </div>
+      <div class="checklist"></div>
+      <hr>
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_customInstances__">Custom Instances</h4>
+      </div>
+      <form class="custom-instance-form">
+        <div class="some-block option-block">
+          <input class="custom-instance" placeholder="http://breezeWiki.org" type="url">
+          <button class="add add-instance" type="submit">
+            <svg xmlns="https://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
+              <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path>
+            </svg>
+          </button>
+        </div>
+      </form>
+      <div class="checklist custom-checklist"></div>
+            <div class="buttons buttons-inline">
+        <label class="button button-inline" id="latency-breezeWiki-label" for="latency-breezeWiki"> 
+          <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor">
+            <path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"></path>
+          </svg>&nbsp;
+          <x data-localise="__MSG_testInstancesLatency__">Test Instances Latency</x>
+        </label>
+        <input class="button button-inline" id="latency-breezeWiki" style="display:none;">
+      </div>
+          </div>
+        <div class="tor">
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_defaultInstances__">Default Instances</h4>
+      </div>
+      <div class="checklist"></div>
+      <hr>
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_customInstances__">Custom Instances</h4>
+      </div>
+      <form class="custom-instance-form">
+        <div class="some-block option-block">
+          <input class="custom-instance" placeholder="http://breezeWiki.onion" type="url">
+          <button class="add add-instance" type="submit">
+            <svg xmlns="https://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
+              <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path>
+            </svg>
+          </button>
+        </div>
+      </form>
+      <div class="checklist custom-checklist"></div>
+          </div>
+        <div class="i2p">
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_defaultInstances__">Default Instances</h4>
+      </div>
+      <div class="checklist"></div>
+      <hr>
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_customInstances__">Custom Instances</h4>
+      </div>
+      <form class="custom-instance-form">
+        <div class="some-block option-block">
+          <input class="custom-instance" placeholder="http://breezeWiki.i2p" type="url">
+          <button class="add add-instance" type="submit">
+            <svg xmlns="https://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
+              <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path>
+            </svg>
+          </button>
+        </div>
+      </form>
+      <div class="checklist custom-checklist"></div>
+          </div>
+        <div class="loki">
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_defaultInstances__">Default Instances</h4>
+      </div>
+      <div class="checklist"></div>
+      <hr>
+      <div class="some-block option-block">
+        <h4 data-localise="__MSG_customInstances__">Custom Instances</h4>
+      </div>
+      <form class="custom-instance-form">
+        <div class="some-block option-block">
+          <input class="custom-instance" placeholder="http://breezeWiki.loki" type="url">
+          <button class="add add-instance" type="submit">
+            <svg xmlns="https://www.w3.org/2000/svg" height="20px" viewBox="0 0 24 24" width="20px" fill="currentColor">
+              <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"></path>
+            </svg>
+          </button>
+        </div>
+      </form>
+      <div class="checklist custom-checklist"></div>
+          </div>
+    
+  </div>
+    
+</section>
 <section class="option-block" id="peertube_page">
   <div class="some-block option-block">
     <h1 data-localise="__MSG_peertube__">PeerTube</h1>