aboutsummaryrefslogtreecommitdiffstats
path: root/pages/options/options.html
diff options
context:
space:
mode:
authorSimon Brazell <simon@brazell.com.au>2020-11-05 08:21:35 +1100
committerGitHub <noreply@github.com>2020-11-05 08:21:35 +1100
commitbbd648a2e41dd2a0323676545e38ab1f6871bebb (patch)
treebf88def64b35beaec301f1c3b88b00e1331df35f /pages/options/options.html
parentMerge pull request #118 from B0pol/patch-1 (diff)
parentUpdate comment for clarity (diff)
downloadlibredirect-bbd648a2e41dd2a0323676545e38ab1f6871bebb.zip
Merge pull request #102 from nitrohorse/add-old-reddit-support
feat(): Add support for redirecting to the old Reddit desktop or mobile design
Diffstat (limited to 'pages/options/options.html')
-rw-r--r--pages/options/options.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/pages/options/options.html b/pages/options/options.html
index 3bddd403..a821524b 100644
--- a/pages/options/options.html
+++ b/pages/options/options.html
@@ -121,6 +121,28 @@
</table>
</section>
<section class="settings-block">
+ <table class="option" aria-label="Toggle old Reddit redirects">
+ <tbody>
+ <tr>
+ <td>
+ <h1 data-localise="__MSG_disableOldReddit__">
+ Old Reddit Redirects
+ </h1>
+ </td>
+ <td>
+ <input
+ aria-hidden="true"
+ id="disable-old-reddit"
+ type="checkbox"
+ checked
+ />&nbsp;
+ <label for="disable-old-reddit" 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
@@ -162,6 +184,16 @@
</div>
</section>
<section class="settings-block">
+ <h1 data-localise="__MSG_oldRedditView__">Old Reddit View (Desktop or Mobile)</h1>
+ <div class="autocomplete">
+ <input
+ id="old-reddit-view"
+ type="url"
+ placeholder="https://old.reddit.com"
+ />
+ </div>
+ </section>
+ <section class="settings-block">
<h1 data-localise="__MSG_theme__">Theme</h1>
<select id="theme">
<option value="">System</option>