about summary refs log tree commit diff stats
path: root/src/pages/popup/popup.pug
blob: 7da687cc1a91f348f7ee8ed984bbee7bc06c4673 (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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
include ../widgets/icons.pug

mixin services
    .youtube.some-block
        a.title(href="https://youtube.com")
            img(src="../../assets/images/youtube-icon.png")
            h4(data-localise="__MSG_youtube__") YouTube
        input.disable-youtube(type="checkbox")

    .youtubeMusic.some-block
        a.title(href="https://music.youtube.com")
            img(src="../../assets/images/youtube-music-icon.png")
            h4(data-localise="__MSG_ytmusic__") YT Music
        input.disable-youtubeMusic(type="checkbox")

    .twitter.some-block
        a.title(href="https://twitter.com")
            img(src="../../assets/images/twitter-icon.png")
            h4(data-localise="__MSG_twitter__") Twitter
        input.disable-nitter(type="checkbox")

    .instagram.some-block
        a.title(href="https://instagram.com")
            img(src="../../assets/images/instagram-icon.png")
            h4(data-localise="__MSG_instagram__") Instagram
        input.disable-bibliogram(type="checkbox")

    .tiktok.some-block
        a.title(href="https://tiktok.com")
            img(src="../../assets/images/tiktok-icon.png")
            h4(data-localise="__MSG_tiktok__") TikTok
        input.disable-tiktok(type="checkbox")

    .imgur.some-block
        a.title(href="https://imgur.com")
            img(src="../../assets/images/imgur.png")
            h4(data-localise="__MSG_imgur__") Imgur
        input.disable-imgur(type="checkbox")

    .reddit.some-block
        a.title(href="https://reddit.com")
            img(src="../../assets/images/reddit-icon.png")
            h4(data-localise="__MSG_reddit__") Reddit
        input.disable-reddit(type="checkbox")

    .wikipedia.some-block
        a.title(href="https://wikipedia.com")
            img(src="../../assets/images/wikipedia-icon.svg")
            h4(data-localise="__MSG_wikipedia__") Wikipedia
        input.disable-wikipedia(type="checkbox")

    .medium.some-block
        a.title(href="https://medium.com")
            +medium
            h4(data-localise="__MSG_medium__") Medium
        input.disable-medium(type="checkbox")

    .quora.some-block
        a.title(href="https://quora.com")
            img(src="../../assets/images/quora.png")
            h4(data-localise="__MSG_quora__") Quora
        input.disable-quora(type="checkbox")
    
    .imdb.some-block
        a.title(href="https://imdb.com")
            img(src="../../assets/images/imdb.svg")
            h4(data-localise="__MSG_imdb__") IMDb
        input.disable-imdb(type="checkbox")

    .reuters.some-block
        a.title(href="https://reuters.com")
            img(src="../../assets/images/reuters.svg")
            h4(data-localise="__MSG_reuters__") Reuters
        input.disable-reuters(type="checkbox")

    .peertube.some-block
        a.title(href="https://search.joinpeertube.org")
            img(src="../../assets/images/peertube-icon.svg")
            h4(data-localise="__MSG_peertube__") PeerTube
        input.disable-peertube(type="checkbox")

    .lbry.some-block
        a.title(href="https://odysee.com/")
            img(src="../../assets/images/lbry-icon.png")
            h4(data-localise="__MSG_lbry__") LBRY
        input.disable-lbry(type="checkbox")

    .search.some-block
        a.title(href="https://search.libredirect.invalid")
            +search
            h4(data-localise="__MSG_search__") Search
        input.disable-search(type="checkbox")

    .translate.some-block
        a.title(href="https://translate.google.com")
            +translate
            h4(data-localise="__MSG_translate__") Translate
        input.disable-translate(type="checkbox")

    .maps.some-block
        a.title(href="https://www.openstreetmap.org")
            +maps
            h4(data-localise="__MSG_maps__") Maps
        input.disable-osm(type="checkbox")

    .sendTargets.some-block
        a.title(href="https://send.libredirect.invalid")
            +send
            h4(data-localise="__MSG_sendFiles__") Send Files
        input.disable-sendTargets(type="checkbox")

doctype html
html(lang="en")
    head
        meta(charset="utf-8")
        meta(name="viewport" content="width=device-width, initial-scale=1")
        link(href="../stylesheets/styles.css" rel="stylesheet")
        link(href="./style.css" rel="stylesheet")
    body(dir="auto")
        .current_site
            +services
            #current_site_divider
                hr
        .all_sites
            +services
        hr
        #change_instance_div.some-block
            a#change_instance.title.button.prevent
                h4(data-localise="__MSG_switchInstance__") Change Instance
                +change_instance

        #copy_raw_div.some-block(title="Copy the original redirected link")         
            a#copy_raw.title.button.prevent
                h4(data-localise="__MSG_copyRaw__") Copy Raw
                +copy_raw

        #unify_div.some-block(title="Unify cookies across all selected instances")
            a#unify.title.button.prevent
                h4(data-localise="__MSG_unifySettings__") Unify Settings
                +unify

        .some-block
            a#more-options.title.button.prevent
                h4(data-localise="__MSG_settings__") Settings
                +settings

        .some-block
            a#about.title.button(href="/pages/options/index.html#about")
                h4(data-localise="__MSG_about__") About
                +about

        .space

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