From 182fe4e3048d2233e636571afa700b38b2f98635 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Fri, 15 Apr 2022 17:27:31 +0300 Subject: Finished Pug structure --- pug/options/reddit/reddit.pug | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pug/options/reddit/reddit.pug (limited to 'pug/options/reddit') diff --git a/pug/options/reddit/reddit.pug b/pug/options/reddit/reddit.pug new file mode 100644 index 00000000..faab846c --- /dev/null +++ b/pug/options/reddit/reddit.pug @@ -0,0 +1,53 @@ +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('reddit') + + section.option-block + .some-block.option-block + h4(data-localise="__MSG_enable__") Enable + input#disable-reddit(type="checkbox") + + .some-block.option-block + h4#frontend(data-localise="__MSG_frontend__") Frontend + select#reddit-frontend + option(value="libreddit") Libreddit + option(value="teddit") Teddit + option(value="old") old.reddit.com + + .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_bypassReddit__") Bypass "Open in Reddit" + input#bypass-watch-on-reddit(type="checkbox") + + hr + + #libreddit + hr + .normal + include ../../widgets/instances.pug + +instances('https://libreddit.com') + .tor + include ../../widgets/instances.pug + +instances('https://libreddit.onion') + + #teddit + hr + .normal + include ../../widgets/instances.pug + +instances('https://libreddit.com') + .tor + include ../../widgets/instances.pug + +instances('https://libreddit.onion') + + script(type="module" src="../init.js") + script(type="module" src="./reddit.js") \ No newline at end of file -- cgit 1.4.1