about summary refs log tree commit diff stats
path: root/pug/options/spotify/spotify.pug
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2022-04-15 00:26:03 +0300
committerManeraKai <manerakai@protonmail.com>2022-04-15 00:26:11 +0300
commit7cc326eb659de0346f873d9fc96cd303479e3a58 (patch)
treefb4f6c22b85a43c09e41617896d04973160fdafa /pug/options/spotify/spotify.pug
parentMerge branch 'master' of https://github.com/libredirect/libredirect (diff)
downloadlibredirect-7cc326eb659de0346f873d9fc96cd303479e3a58.zip
Still makin Pug structure. Finished adding LibreSpeed #170
Diffstat (limited to 'pug/options/spotify/spotify.pug')
-rw-r--r--pug/options/spotify/spotify.pug31
1 files changed, 31 insertions, 0 deletions
diff --git a/pug/options/spotify/spotify.pug b/pug/options/spotify/spotify.pug
new file mode 100644
index 00000000..21fc3968
--- /dev/null
+++ b/pug/options/spotify/spotify.pug
@@ -0,0 +1,31 @@
+doctype html
+html(lang="en")
+    include ../../widgets/head.pug
+        title General
+body.option(dir="auto")
+    include ../../widgets/links.pug
+    +links('spotify')
+
+    section.option-block
+        .some-block.option-block
+            h4(data-localise="__MSG_enable__") Enable
+            input#disable-spotify(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
+
+        #soju
+            hr
+            .normal
+                include ../../widgets/instances.pug
+                +instances('https://soju.com')
+            .tor
+                include ../../widgets/instances.pug
+                +instances('https://soju.onion')
+
+            script(type="module" src="../init.js")
+            script(type="module" src="./spotify.js")
+            script(type="module" src="../../../assets/javascripts/localise.js")
\ No newline at end of file