summaryrefslogtreecommitdiff
path: root/html/about.htm
blob: 54e5418e0922e3d0c3f141fdc5369cf4043a4676 (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
<!DOCTYPE html>
<html>
    <head>
        <title>SkunkyArt</title>
        <link rel="stylesheet" href="{{.BasePath}}stylesheet">
    </head>
    <main>
        <header>
            <h1><a href="{{.BasePath}}">HOME</a> | <a href="{{.BasePath}}dd">DD</a></h1>
            <form method="get" action="{{.BasePath}}search">
                <input type="text" name="q" placeholder="Search for ..." autocomplete="off" autocapitalize="none" spellcheck="false">
                <select name="type">
                    <option value="all">All</option>
                    <option value="tag">Tag</option>
                    <option value="r">Groups</option>
                </select>
                <button type="submit">Search!</button>
            </form>
        </header>
        <p>
            SkunkyArt is an alternative frontend for deviantart.com, written in Go.
        </p>
        <h3><a href="https://go.kde.org/matrix/#/#skunkyart:ebloid.ru" target="_blank">Room in Matrix</a></h3>
        <h2>Instance settings:</h2>
        <ul>
            <li><b>NSFW</b>: <span class="about-{{.Templates.About.Nsfw}}">{{if .Templates.About.Nsfw}}YES{{else}}NO{{end}}</span></li>
            <li><b>Proxyfing</b>: <span class="about-{{.Templates.About.Proxy}}">{{if .Templates.About.Proxy}}YES{{else}}NO{{end}}</span></li>
        </ul>
        <h2>Instances:</h2>
        <ul>
            {{range .Templates.About.Instances}}
            <li><u><b>{{.Title}}</b></u>:
                <ul>
                    <li><b>Country</b>: {{.Country}}</li>
                    <li><b>URLs</b>: </li>
                    <ul>
                    {{range .Urls}}
                        {{if ne .I2P ""}}
                        <li><b>I2P</b>: <a href="{{.I2P}}">Yes</a></li>
                        {{end}}
                        {{if ne .Ygg ""}}
                        <li><b>Ygg</b>: <a href="{{.Ygg}}">Yes</a></li>
                        {{end}}
                        {{if ne .Tor ""}}
                        <li><b>Tor</b>: <a href="{{.Tor}}">Yes</a></li>
                        {{end}}
                        {{if ne .Clearnet ""}}
                        <li><b>Clearnet</b>: <a href="{{.Clearnet}}">{{.Clearnet}}</a></li>
                        {{end}}
                    {{end}}
                    </ul>
                    <li><b>Settings</b>: </li>
                    <ul>
                        <li><b>NSFW</b>: <span class="about-{{.Settings.Nsfw}}">{{if .Settings.Nsfw}}YES{{else}}NO{{end}}</span></li>
                        <li><b>Proxyfing</b>: <span class="about-{{.Settings.Proxy}}">{{if .Settings.Proxy}}YES{{else}}NO{{end}}</span></li>
                    </ul>
                </ul>
            </li>
            {{end}}
        </ul>
        <p>Copyright <a href="https://go.kde.org/matrix/#/@softpigeones:ebloid.ru" target="_blank">lost+skunk</a>, X11. <a href="https://git.macaw.me/skunky/skunkyart/src/tag/v1.3" target="_blank">SkunkyArt v1.3</a></p>
    </main>
</html>