aboutsummaryrefslogtreecommitdiff
path: root/allium/templates/skeleton.html
blob: 28278a7ba9ba8474b298a5bafa73e66ee2f4d311 (plain)
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
{% block head %}
    <!DOCTYPE html>
    <html lang="en">
        <head>
            <title>
                {% block title %}{% endblock %}
            </title>
            <meta name="description"
                  content="Javascript-free Tor metrics generated from an hourly API request.">
            <meta charset="utf-8">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <link rel="stylesheet" href="{{ path_prefix }}static/css/bootstrap.min.css">
            <!--source: metrics.torproject.org-->
            <style>
                .circle {
                    display: inline-block;
                    vertical-align: middle;
                    background: #999999;
                    width: 7px;
                    height: 7px;
                    -moz-border-radius: 50%;
                    -webkit-border-radius: 50%;
                    border-radius: 50%;
                }

                .circle-online {
                    background: #25d918;
                }

                .circle-offline {
                    background: #ff1515;
                }

                .verified-hostname {
                    color: #FE9F30;
                }

                .verified-hostname {
                    color: #68b030;
                }

                .unverified-hostname {
                    color: #FE9F30;
                }
            </style>
        </head>
    {% endblock %}
    <body>
        <div class="container">
            {% block body %}{% endblock %}
        </div>
    </body>
    {% block footer %}
        <footer class="page-footer font-small">
            <div class="footer-copyright text-center text-muted">
                <p>
                    generated by <a href="https://github.com/tempname1024/allium">allium</a> on
                    {{ relays.timestamp }}
                </p>
            </div>
        </footer>
    </html>
{% endblock %}