summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 71b3f87fa2931a321184e58a46107df829787265 (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
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>{% block title %}Arch Linux{% endblock %}</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/media/archweb.css" media="screen, projection" />
    <link rel="stylesheet" type="text/css" href="/media/archweb-print.css" media="print" />
    <link rel="icon" type="image/x-icon" href="/media/favicon.ico" />
    <link rel="shortcut icon" type="image/x-icon" href="/media/favicon.ico" />
    <link rel="search" type="application/opensearchdescription+xml" href="{% url opensearch-packages as osp %}{{ osp }}" title="Arch Linux Packages" />
    {% block head %}{% endblock %}
</head>
<body class="{% if user.is_authenticated %}devmode {% endif %}{% block bodyclass %}{% endblock %}">

    <div id="archnavbar" class="{% block navbarclass %}anb-home{% endblock %}">
        <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux</a></h1></div>
        <div id="archnavbarmenu">
            <ul id="archnavbarlist">
                <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>
                <li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li>
                <li id="anb-wiki"><a href="http://wiki.archlinux.org/" title="Community documentation">Wiki</a></li>
                <li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li>
                <li id="anb-aur"><a href="http://aur.archlinux.org/" title="Arch Linux User Repository">AUR</a></li>
                <li id="anb-download"><a href="{% url page-download as pdl %}{{ pdl }}" title="Get Arch Linux">Download</a></li>
            </ul>
        </div>
    </div><!-- #archnavbar -->

    <div id="content">
        <div id="archdev-navbar">
            {% if user.is_authenticated %}
                <ul>
                    <li><a href="/devel/" title="Developer Dashboard">Dashboard</a></li>
                    <li><a href="http://wiki.archlinux.org/index.php/DeveloperWiki"
                        title="Developer HOWTOs and documentation">DevWiki</a></li>
                    <li><a href="http://projects.archlinux.org/" title="Git Projects">Projects</a></li>
                    <li><a href="{% url news-list as newsl %}{{ newsl }}" title="Manage news articles">News</a></li>
                    <li><a href="/packages/signoffs/" title="Package signoffs">Signoffs</a></li>
                    <li><a href="/todo/" title="Developer todo lists">Todos</a></li>
                    <li><a href="/packages/differences/" title="Package architecture differences">Arch Differences</a></li>
                    <li><a href="http://www.archlinux.org/mailman/private/arch-dev/"
                        title="arch-dev mailing list archives">Archives</a></li>
                    <li><a href="/mirrors/" title="Mirror server statistics">Mirrors</a></li>
                    <li><a href="/devel/profile/" title="Modify your account profile">Profile</a></li>
                    <li><a href="/accounts/logout/" title="Logout of the developer interface">Logout</a></li>
                </ul>
            {% endif %}
        </div><!-- #archdev-navbar -->

        {% if messages %}
            <div id="sys-message" class="box">
                {% for message in messages %}
                    <p>{{message}}</p>
                {% endfor %}
            </div>
        {% endif %}

        {% block content %}
            <div id="content-left-wrapper">
                <div id="content-left">
                    {% block content_left %}{% endblock %}
                </div><!-- #content_left -->
            </div>

            <div id="content-right">
                {% block content_right %}{% endblock %}
            </div><!-- #content_right -->
        {% endblock %}

        <div id="footer">
            <p>Copyright &copy; 2002-{% now "Y" %} <a href="mailto:jvinet@zeroflux.org"
                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
            <a href="http://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy"
                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>
        </div><!-- #footer -->

    </div><!-- #content -->

</body>
</html>