diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-05-04 13:59:37 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-05-04 13:59:37 +0300 |
commit | a28cccfde07e76d1e70d2acfe1c2222d8b8ae705 (patch) | |
tree | 4fdefa52a12f7a158006f1b7ba3b54cd468b97fe /pug/options | |
parent | Fix incorrect localization (#236) (diff) | |
download | libredirect-a28cccfde07e76d1e70d2acfe1c2222d8b8ae705.zip |
Simplified code. Removed pixivMoe, old.reddit.com #239
Diffstat (limited to 'pug/options')
-rw-r--r-- | pug/options/general/general.pug | 6 | ||||
-rw-r--r-- | pug/options/pixiv/pixiv.pug | 41 | ||||
-rw-r--r-- | pug/options/reddit/reddit.pug | 1 | ||||
-rw-r--r-- | pug/options/spotify/spotify.pug | 9 |
4 files changed, 0 insertions, 57 deletions
diff --git a/pug/options/general/general.pug b/pug/options/general/general.pug index d0aad99a..34efa64c 100644 --- a/pug/options/general/general.pug +++ b/pug/options/general/general.pug @@ -122,12 +122,6 @@ body.option(dir="auto") div div - img(src="../../../assets/images/pixiv-icon.svg") - |Pixiv - input#pixiv(type="checkbox") - - div - div img(src="../../../assets/images/spotify-icon.png") |Spotify input#spotify(type="checkbox") diff --git a/pug/options/pixiv/pixiv.pug b/pug/options/pixiv/pixiv.pug deleted file mode 100644 index 3fab5981..00000000 --- a/pug/options/pixiv/pixiv.pug +++ /dev/null @@ -1,41 +0,0 @@ -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('pixiv') - - section.option-block - .some-block.option-block - h4(data-localise="__MSG_enable__") Enable - input#disable-pixiv(type="checkbox") - - .some-block.option-block - h4 - x(data-localise="__MSG_frontend__") Frontend - |: - span(style="color:red;" data-localise="__MSG_notFullyPrivate__") This isn't a fully private frontend - select#maps-frontend - option(value="pixivMoe" data-localise="__MSG_pixivMoe__") pixiv萌え - - .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 - - #pixivMoe - hr - .normal - include ../../widgets/instances.pug - +instances('https://pixivMoe.com') - include ../../widgets/latency.pug - +latency() - .tor - include ../../widgets/instances.pug - +instances('https://pixivMoe.onion') - - script(type="module" src="../init.js") - script(type="module" src="./pixiv.js") \ No newline at end of file diff --git a/pug/options/reddit/reddit.pug b/pug/options/reddit/reddit.pug index cfb0868d..1b51ccae 100644 --- a/pug/options/reddit/reddit.pug +++ b/pug/options/reddit/reddit.pug @@ -17,7 +17,6 @@ body.option(dir="auto") 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 diff --git a/pug/options/spotify/spotify.pug b/pug/options/spotify/spotify.pug index 2314fe27..97951412 100644 --- a/pug/options/spotify/spotify.pug +++ b/pug/options/spotify/spotify.pug @@ -12,12 +12,6 @@ body.option(dir="auto") 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 @@ -25,9 +19,6 @@ body.option(dir="auto") +instances('https://soju.com') include ../../widgets/latency.pug +latency() - .tor - include ../../widgets/instances.pug - +instances('https://soju.onion') script(type="module" src="../init.js") script(type="module" src="./spotify.js") |