From 42dbb68ee00d41ac270df1a93acf29c4d17c8db1 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Thu, 12 May 2022 04:22:12 +0300 Subject: Reorganized pug files. Added Unify settings to libreddit #234 --- src/pages/options/tiktok/tiktok.pug | 54 +++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/pages/options/tiktok/tiktok.pug (limited to 'src/pages/options/tiktok') 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") -- cgit 1.4.1