about summary refs log tree commit diff stats
path: root/pug/options/search/search.pug
blob: 61664b9c52c85d09a8f2ac0cc262a9487f9b74b4 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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('search')

    section.option-block
        .some-block.option-block
            h4(data-localise="__MSG_enable__") Enable
            input#disable-search(type="checkbox")

        .some-block.option-block
            h4#frontend(data-localise="__MSG_frontend__") Frontend
            select#search-frontend
                option(value="searx") SearX
                option(value="searxng") SearXNG
                option(value="whoogle") Whoogle
                option(value="startpage") Startpage


        #searx-whoogle
            .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
                    option(value="i2p" data-localise="__MSG_i2p__") I2P

        .some-block
            h4(data-localise="__MSG_searchNote__") Note: To use Search to its full potential, make LibRedirect as the Default Search Engine

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

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

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

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