about summary refs log tree commit diff stats
path: root/pug/options/speedtest/speedtest.pug
blob: 2e3b3a8213b6886ae28087931132764f093b7a1a (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
doctype html
html(lang="en")
    include ../../widgets/head.pug
        title General
body.option(dir="auto")
    include ../../widgets/links.pug
    +links('speedtest')

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

        #librespeed
            hr
            .normal
                include ../../widgets/instances.pug
                +instances('https://librespeed.com')
            .tor
                include ../../widgets/instances.pug
                +instances('https://librespeed.onion')

            script(type="module" src="../init.js")
            script(type="module" src="./speedtest.js")
            script(type="module" src="../../../assets/javascripts/localise.js")