about summary refs log tree commit diff stats
path: root/pug/options/peertube
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-04-15 17:27:31 +0300
committerManeraKai <manerakai@protonmail.com>2022-04-15 17:27:31 +0300
commit182fe4e3048d2233e636571afa700b38b2f98635 (patch)
tree4cd78c809c8a244323e7828e6978065aa0ffeef4 /pug/options/peertube
parentFixed wikipedia mobile not redirecting #196. Improved Instances Fetching Script (diff)
downloadlibredirect-182fe4e3048d2233e636571afa700b38b2f98635.zip
Finished Pug structure
Diffstat (limited to 'pug/options/peertube')
-rw-r--r--pug/options/peertube/peertube.pug31
1 files changed, 31 insertions, 0 deletions
diff --git a/pug/options/peertube/peertube.pug b/pug/options/peertube/peertube.pug
new file mode 100644
index 00000000..f49e311c
--- /dev/null
+++ b/pug/options/peertube/peertube.pug
@@ -0,0 +1,31 @@
+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')
+            .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