about summary refs log tree commit diff stats
path: root/pug/options/tiktok/tiktok.pug
blob: 31ae18df9575a6e2d53b35db6f06dcdb394f3bd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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('tiktok')

    section.option-block
        .some-block.option-block
            h4(data-localise="__MSG_enable__") Enable
            input#disable-tiktok(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

        .some-block.option-block
                h4(data-localise="__MSG_enableCustomSettings__") Enable Custom Settings (will use cookies)
                input#enable-custom-settings(type="checkbox")
        
        #proxiTok
            hr
            .custom-settings
                .some-block.option-block
                    h2 General
                .some-block.option-block
                    h4(data-localise="__MSG_theme__") Theme
                    select.theme
                        option(value="default") Default
                        option(value="card") Card

                .some-block.option-block
                    h2 Api
                .some-block.option-block
                    h4(data-localise="__MSG_legacyMode__") Legacy mode
                    select.api-legacy
                        option(value="on") On
                        option(value="off") Off

            .normal
                include ../../widgets/instances.pug
                +instances('https://proxitok.com')
                include ../../widgets/latency.pug
                +latency()
            .tor
                include ../../widgets/instances.pug
                +instances('https://proxitok.onion')

    script(type="module" src="../init.js")
    script(type="module" src="./tiktok.js")