about summary refs log tree commit diff stats
path: root/src/pages/options/options.html
diff options
context:
space:
mode:
authorFarbod <70021639+rimthekid@users.noreply.github.com>2021-12-03 18:21:39 +0400
committerGitHub <noreply@github.com>2021-12-03 18:21:39 +0400
commit26eef8843c2f2b0306917db52dbeb8cf87f2c341 (patch)
tree1cc800e11cbf32b4c0ff6368beb3bfa42345c2e7 /src/pages/options/options.html
parentMerge pull request #272 from Elaborendum/patch-1 (diff)
parentRestore accidentally deleted lines (diff)
downloadlibredirect-26eef8843c2f2b0306917db52dbeb8cf87f2c341.zip
Merge pull request #1 from Huy-Ngo/master
medium to scribe pr
Diffstat (limited to 'src/pages/options/options.html')
-rw-r--r--src/pages/options/options.html47
1 files changed, 46 insertions, 1 deletions
diff --git a/src/pages/options/options.html b/src/pages/options/options.html
index 65f1e9ab..5b68ed10 100644
--- a/src/pages/options/options.html
+++ b/src/pages/options/options.html
@@ -142,6 +142,28 @@
           </tbody>
         </table>
       </section>
+      <section class="settings-block">
+        <table class="option" aria-label="Toggle Scribe redirects">
+          <tbody>
+            <tr>
+              <td>
+                <h1 data-localise="__MSG_disableScribe__">
+                  Scribe Redirects
+                </h1>
+              </td>
+              <td>
+                <input
+                  aria-hidden="true"
+                  id="disable-scribe"
+                  type="checkbox"
+                  checked
+                />&nbsp;
+                <label for="disable-scribe" class="checkbox-label"> </label>
+              </td>
+            </tr>
+          </tbody>
+        </table>
+      </section>
        <section class="settings-block">
         <table class="option" aria-label="Toggle Search Engine redirects">
           <tbody>
@@ -188,7 +210,7 @@
           <tbody>
             <tr>
               <td>
-                <h1 data-localise="__MSG_disableWikipedia__" class="new-badge" data-new-badge>Wikipedia Redirects</h1>
+                <h1 data-localise="__MSG_disableWikipedia__">Wikipedia Redirects</h1>
               </td>
               <td>
                 <input
@@ -257,6 +279,19 @@
         </div>
       </section>
       <section class="settings-block">
+        <h1 data-localise="__MSG_scribeInstance__"
+          class="new-badge" data-new-badge>Scribe Instance</h1>
+        <div class="autocomplete">
+          <input
+            id="scribe-instance"
+            type="url"
+            name="scribe-instance"
+            data-localise-placeholder="__MSG_randomInstancePlaceholder__"
+            placeholder="Random instance (none selected)"
+          />
+        </div>
+      </section>
+      <section class="settings-block">
         <h1 data-localise="__MSG_searchEngineInstance__">Search Engine Instance</h1>
         <div class="autocomplete">
           <input
@@ -557,6 +592,16 @@
             type="text"
           />
         </section>
+        <section class="settings-block">
+          <h1 data-localise="__MSG_scribeRandomPool__">
+            Scribe random instance pool (comma-separated)
+          </h1>
+          <input
+            id="scribe-random-pool"
+            name="scribe-random-pool"
+            type="text"
+          />
+        </section>
         <hr>
       </div>
     </div>