aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/options/tiktok
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-05-12 04:22:12 +0300
committerManeraKai <manerakai@protonmail.com>2022-05-12 04:22:12 +0300
commit42dbb68ee00d41ac270df1a93acf29c4d17c8db1 (patch)
tree8916979ef93db1ecb0ea057c8b5929fec5621572 /src/pages/options/tiktok
parentMade maps redirect async #208 (diff)
downloadlibredirect-42dbb68ee00d41ac270df1a93acf29c4d17c8db1.zip
Reorganized pug files. Added Unify settings to libreddit #234
Diffstat (limited to 'src/pages/options/tiktok')
-rw-r--r--src/pages/options/tiktok/tiktok.pug54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/pages/options/tiktok/tiktok.pug b/src/pages/options/tiktok/tiktok.pug
new file mode 100644
index 00000000..31ae18df
--- /dev/null
+++ b/src/pages/options/tiktok/tiktok.pug
@@ -0,0 +1,54 @@
+doctype html
+html(lang="en")
+ include ../../widgets/head.pug
+ title General
+script(type="module" src="../../../assets/javascripts/localise.js")
+body.option(dir="auto")
+ include ../../widgets/links.pug
+ +links('tiktok')
+
+ section.option-block
+ .some-block.option-block
+ h4(data-localise="__MSG_enable__") Enable
+ input#disable-tiktok(type="checkbox")
+
+ .some-block.option-block
+ h4(data-localise="__MSG_protocol__") Protocol
+ select#protocol
+ option(value="normal" data-localise="__MSG_normal__") Normal
+ option(value="tor" data-localise="__MSG_tor__") Tor
+
+ .some-block.option-block
+ h4(data-localise="__MSG_enableCustomSettings__") Enable Custom Settings (will use cookies)
+ input#enable-custom-settings(type="checkbox")
+
+ #proxiTok
+ hr
+ .custom-settings
+ .some-block.option-block
+ h2 General
+ .some-block.option-block
+ h4(data-localise="__MSG_theme__") Theme
+ select.theme
+ option(value="default") Default
+ option(value="card") Card
+
+ .some-block.option-block
+ h2 Api
+ .some-block.option-block
+ h4(data-localise="__MSG_legacyMode__") Legacy mode
+ select.api-legacy
+ option(value="on") On
+ option(value="off") Off
+
+ .normal
+ include ../../widgets/instances.pug
+ +instances('https://proxitok.com')
+ include ../../widgets/latency.pug
+ +latency()
+ .tor
+ include ../../widgets/instances.pug
+ +instances('https://proxitok.onion')
+
+ script(type="module" src="../init.js")
+ script(type="module" src="./tiktok.js")