base.html 5.58 KB
Newer Older
1
{% load static %}<!DOCTYPE html>
2
{% load group %}
3
<html lang="en">
Thayer Williams's avatar
Thayer Williams committed
4
<head>
Dan McGee's avatar
Dan McGee committed
5
    <meta charset="utf-8" />
Thayer Williams's avatar
Thayer Williams committed
6
    <title>{% block title %}Arch Linux{% endblock %}</title>
7
    <link rel="stylesheet" type="text/css" href="{% static "archweb.css" %}" media="screen" />
Dan McGee's avatar
Dan McGee committed
8
9
10
11
12
    <link rel="icon" type="image/x-icon" href="{% static "favicon.ico" %}" />
    <link rel="shortcut icon" type="image/x-icon" href="{% static "favicon.ico" %}" />
    <link rel="apple-touch-icon" href="{% static "logos/apple-touch-icon-57x57.png" %}" />
    <link rel="apple-touch-icon" sizes="72x72" href="{% static "logos/apple-touch-icon-72x72.png" %}" />
    <link rel="apple-touch-icon" sizes="114x114" href="{% static "logos/apple-touch-icon-114x114.png" %}" />
13
    <link rel="apple-touch-icon" sizes="144x144" href="{% static "logos/apple-touch-icon-144x144.png" %}" />
Dan McGee's avatar
Dan McGee committed
14
    <link rel="search" type="application/opensearchdescription+xml" href="{% url 'opensearch-packages' as osp %}{{ osp }}" title="Arch Linux Packages" />
Thayer Williams's avatar
Thayer Williams committed
15
16
    {% block head %}{% endblock %}
</head>
17
18
<body class="{% if user.is_authenticated %}devmode {% endif %}{% block bodyclass %}{% endblock %}">
    <div id="archnavbar" class="{% block navbarclass %}anb-home{% endblock %}">
Thayer Williams's avatar
Thayer Williams committed
19
20
21
        <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux</a></h1></div>
        <div id="archnavbarmenu">
            <ul id="archnavbarlist">
22
23
                <li id="anb-home"><a href="/" title="Arch news, packages, projects and more">Home</a></li>
                <li id="anb-packages"><a href="/packages/" title="Arch Package Database">Packages</a></li>
24
                <li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li>
Dan McGee's avatar
Dan McGee committed
25
                <li id="anb-wiki"><a href="https://wiki.archlinux.org/" title="Community documentation">Wiki</a></li>
26
                <li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li>
27
                <li id="anb-security"><a href="https://security.archlinux.org/" title="Arch Linux Security Tracker">Security</a></li>
Dan McGee's avatar
Dan McGee committed
28
                <li id="anb-aur"><a href="https://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li>
Dan McGee's avatar
Dan McGee committed
29
                <li id="anb-download"><a href="{% url 'page-download' as pdl %}{{ pdl }}" title="Get Arch Linux">Download</a></li>
Thayer Williams's avatar
Thayer Williams committed
30
31
            </ul>
        </div>
32
    </div>
Thayer Williams's avatar
Thayer Williams committed
33
34
35
    <div id="content">
        <div id="archdev-navbar">
            {% if user.is_authenticated %}
36
                <ul>
Dan McGee's avatar
Dan McGee committed
37
                    <li><a href="{% url 'devel-index' %}" title="Developer Dashboard">Dashboard</a></li>
Dan McGee's avatar
Dan McGee committed
38
                    <li><a href="https://wiki.archlinux.org/index.php/DeveloperWiki"
Dan McGee's avatar
Dan McGee committed
39
                        title="Developer Wiki">DevWiki</a></li>
Dan McGee's avatar
Dan McGee committed
40
                    <li><a href="{% url 'news-list' as newsl %}{{ newsl }}" title="Manage news articles">News</a></li>
Thayer Williams's avatar
Thayer Williams committed
41
                    <li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li>
Dan McGee's avatar
Dan McGee committed
42
                    <li><a href="/todo/" title="Developer todo lists">Todos</a></li>
Dan McGee's avatar
Dan McGee committed
43
                    <li><a href="{% url 'devel-clocks' %}" title="Developer world clocks">Dev Clocks</a></li>
44
		    {% if user|in_group:'Developers' %}
Dan McGee's avatar
Dan McGee committed
45
                    <li><a href="https://mailman.archlinux.org/mailman/private/arch-dev/"
Thayer Williams's avatar
Thayer Williams committed
46
                        title="arch-dev mailing list archives">Archives</a></li>
47
		    {% endif %}
48
                    <li><a href="https://zabbix.archlinux.org/"
Dan McGee's avatar
Dan McGee committed
49
50
                        title="Arch server monitoring">Server Monitoring</a></li>
                    {% if user.is_staff %}
Dan McGee's avatar
Dan McGee committed
51
                    <li><a href="{% url 'admin:index' %}" title="Django Admin Interface">Django Admin</a></li>
Dan McGee's avatar
Dan McGee committed
52
                    {% endif %}
Thayer Williams's avatar
Thayer Williams committed
53
                    <li><a href="/devel/profile/" title="Modify your account profile">Profile</a></li>
54
                    <li><a href="/logout/" title="Logout of the developer interface">Logout</a></li>
55
                </ul>
Thayer Williams's avatar
Thayer Williams committed
56
            {% endif %}
57
        </div>
Thayer Williams's avatar
Thayer Williams committed
58
59
        {% if messages %}
            <div id="sys-message" class="box">
60
                {% for message in messages %}
Thayer Williams's avatar
Thayer Williams committed
61
                    <p>{{message}}</p>
62
63
                {% endfor %}
            </div>
Thayer Williams's avatar
Thayer Williams committed
64
65
66
67
68
        {% endif %}
        {% block content %}
            <div id="content-left-wrapper">
                <div id="content-left">
                    {% block content_left %}{% endblock %}
69
                </div>
70
            </div>
Thayer Williams's avatar
Thayer Williams committed
71
72
            <div id="content-right">
                {% block content_right %}{% endblock %}
73
            </div>
Thayer Williams's avatar
Thayer Williams committed
74
75
        {% endblock %}
        <div id="footer">
76
            <p>Copyright © 2002-{% now "Y" %} <a href="mailto:jvinet@zeroflux.org"
Thayer Williams's avatar
Thayer Williams committed
77
78
79
80
                title="Contact Judd Vinet">Judd Vinet</a> and <a href="mailto:aaron@archlinux.org"
                title="Contact Aaron Griffin">Aaron Griffin</a>.</p>

            <p>The Arch Linux name and logo are recognized
Dan McGee's avatar
Dan McGee committed
81
            <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
Thayer Williams's avatar
Thayer Williams committed
82
83
84
85
                title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.</p>

            <p>The registered trademark Linux® is used pursuant to a sublicense from LMI,
            the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.</p>
86
87
        </div>
    </div>
88
89
90
91
92
93
94
95
96
97
98
99
    <script type="application/ld+json">
    {
       "@context": "http://schema.org",
       "@type": "WebSite",
       "url": "{{ domain }}/",
       "potentialAction": {
         "@type": "SearchAction",
         "target": "{{ domain }}/packages/?q={search_term}",
         "query-input": "required name=search_term"
       }
    }
    </script>
100
    {% block script_block %}{% endblock %}
Thayer Williams's avatar
Thayer Williams committed
101
</body>
eliott's avatar
eliott committed
102
</html>