summaryrefslogtreecommitdiffstats
path: root/templates/base.html
blob: 1dee72bf2fdc45678f91335897a655a726341569 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/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" href="/media/arch.css" />
        <link rel="icon" href="/media/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="/media/favicon.ico" type="image/x-icon" />
        {% block head %}
        {% endblock %}
    </head>
    <body>
        <div id="head_container">
            <div id="title">
              <div id="logo"><h1 id="archtitle"><a href="http://www.archlinux.org/" title="Arch Linux (Home)">Arch Linux</a></h1></div>
            </div>
            <div id="main_nav">
                {% block topmenu %}
                <ul>
                    <li{% ifequal path '/download/' %} class="selected"{% endifequal %}><a href="/download/">Download</a></li>
                    <li><a href="http://aur.archlinux.org">AUR</a></li>
                    <li><a href="http://bugs.archlinux.org">Bugs</a></li>
                    <li><a href="http://wiki.archlinux.org">Wiki</a></li>
                    <li><a href="http://bbs.archlinux.org">Forums</a></li>
                    <li{% ifequal path '/' %} class="selected"{% endifequal %}><a href="/">Home</a></li>
                </ul>
                {% endblock %}
            </div>
            <div id="dev_nav">
                {% if user.is_authenticated %}
                    <ul>
                        <li><a href="/accounts/logout/">Logout</a></li>
                        <li><a href="/devel/profile/">Profile</a></li>
                        <li><a href="/mirrors/">Mirrors</a></li>
                        <li><a href="http://www.archlinux.org/mailman/private/arch-dev/">Archives</a></li>
                        <li><a href="/todo/">Todos</a></li>
                        <li><a href="/packages/signoffs/">Signoffs</a></li>
                        <li><a href="/news/">News</a></li>
                        <li><a href="/devel/">Dashboard</a></li>
                     </ul>
                {% endif %}
            </div>
        </div>
        <div id="content">
            {% if messages %}
            <div class="box" style="width: 50%; text-align: center; margin-left: auto; margin-right: auto">
                {% for message in messages %}
                <p>{{message}}</p>
                {% endfor %}
            </div>
            <br />
            {% endif %}
            {% block content %}
            <div class="right">
                {% block content_right %}
                {% endblock %}
            </div>
            <div class="left">
                {% block content_left %}
                {% endblock %}
            </div>
            {% endblock %}
        </div>
        <div class="foot">
          Copyright &copy; 2002-2009 <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>.<br />
          The Arch Linux name and logo are recognized trademarks. Some rights
          reserved.<br />
          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.
        </div>
    </body>
</html>