aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/options/options.html
diff options
context:
space:
mode:
authorSimon Brazell <simon@brazell.com.au>2021-04-16 09:24:06 +1000
committerGitHub <noreply@github.com>2021-04-16 09:24:06 +1000
commit13884fa6c3fbaa3c393f573a81100346cf641ef4 (patch)
treef936cdb1040f47b613ce4e055ef9154b4f63278d /src/pages/options/options.html
parentMerge pull request #193 from tenpura-shrimp/master (diff)
parentDisable SimplyTranslate redirects by default (diff)
downloadlibredirect-13884fa6c3fbaa3c393f573a81100346cf641ef4.zip
Merge pull request #198 from fattalion/add-simply-translate-support
Add SimplyTranslate support
Diffstat (limited to 'src/pages/options/options.html')
-rw-r--r--src/pages/options/options.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/pages/options/options.html b/src/pages/options/options.html
index 8dc1eb72..27e9fe5d 100644
--- a/src/pages/options/options.html
+++ b/src/pages/options/options.html
@@ -165,6 +165,25 @@
</table>
</section>
<section class="settings-block">
+ <table class="option" aria-label="Toggle SimplyTranslate redirects">
+ <tbody>
+ <tr>
+ <td>
+ <h1 data-localise="__MSG_disableSimplyTranslate__" class="new-badge" data-new-badge>SimplyTranslate Redirects</h1>
+ </td>
+ <td>
+ <input
+ aria-hidden="true"
+ id="disable-simply-translate"
+ type="checkbox"
+ />&nbsp;
+ <label for="disable-simply-translate" class="checkbox-label"></label>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </section>
+ <section class="settings-block">
<h1 data-localise="__MSG_nitterInstance__">Nitter Instance</h1>
<div class="autocomplete">
<input
@@ -230,6 +249,16 @@
</div>
</section>
<section class="settings-block">
+ <h1 data-localise="__MSG_simplyTranslateInstance__">SimplyTranslate Instance</h1>
+ <div class="autocomplete">
+ <input
+ id="simply-translate-instance"
+ type="url"
+ placeholder="https://translate.metalune.xyz"
+ />
+ </div>
+ </section>
+ <section class="settings-block">
<h1 data-localise="__MSG_theme__">Theme</h1>
<select id="theme">
<option value="">System</option>