aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/options/peertube
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/peertube
parentMade maps redirect async #208 (diff)
downloadlibredirect-42dbb68ee00d41ac270df1a93acf29c4d17c8db1.zip
Reorganized pug files. Added Unify settings to libreddit #234
Diffstat (limited to 'src/pages/options/peertube')
-rw-r--r--src/pages/options/peertube/peertube.pug33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/pages/options/peertube/peertube.pug b/src/pages/options/peertube/peertube.pug
new file mode 100644
index 00000000..d9b25bbc
--- /dev/null
+++ b/src/pages/options/peertube/peertube.pug
@@ -0,0 +1,33 @@
+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('peertube')
+
+ section.option-block
+ .some-block.option-block
+ h4(data-localise="__MSG_enable__") Enable
+ input#disable-peertube(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
+
+ #simpleertube
+ hr
+ .normal
+ include ../../widgets/instances.pug
+ +instances('https://simpleertube.com')
+ include ../../widgets/latency.pug
+ +latency()
+ .tor
+ include ../../widgets/instances.pug
+ +instances('https://simpleertube.onion')
+
+ script(type="module" src="../init.js")
+ script(type="module" src="./peertube.js") \ No newline at end of file