~cr3/launchpad-results/trunk

« back to all changes in this revision

Viewing changes to launchpadresults/templates/launchpad/base.html

  • Committer: Marc Tardif
  • Date: 2010-10-05 22:04:03 UTC
  • Revision ID: marc.tardif@canonical.com-20101005220403-11n695o061rct89s
Added root page with all the necessary infrastructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
 
 
4
 
{% comment %}
5
 
Copyright 2010 Canonical Ltd.  This software is licensed under the
6
 
GNU Affero General Public License version 3 (see the file  LICENSE).
7
 
{% endcomment %}
8
 
 
9
 
{% load i18n %}
10
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
11
 
    <head>
12
 
        <title>{% block title %}{% trans "Log in" %}{% endblock %}</title>
13
 
        <link rel="stylesheet" type="text/css" href="/static/launchpad/styles.css"/>
14
 
        {% block extra_header %}{% endblock %}
15
 
    </head>
16
 
    <body>
17
 
        <div id="nonfooter">
18
 
            <address>
19
 
                {% trans "Launchpad Results" %}
20
 
            </address>
21
 
            {% if user.is_authenticated %}
22
 
                {% include "launchpad/logout-button.html" %}
23
 
            {% endif %}
24
 
 
25
 
            {% if message %}
26
 
                <div class="message {{ message_style }}{% if not user.is_authenticated %} notopbar{% endif %}">
27
 
                    <p>{{ message }}</p>
28
 
                </div>
29
 
            {% endif %}
30
 
 
31
 
            <div id="maincontent">
32
 
                {% if readonly %}
33
 
                    <div class="message">
34
 
                        {% blocktrans %}We are currently in read-only mode. That means that at the moment you can't create new accounts, update your personal information, or request password reminders.{% endblocktrans %}
35
 
                    </div>
36
 
                {% endif %}
37
 
 
38
 
                <div id="{% block content_id %}box{% endblock %}">
39
 
                    {% block text_title %}{% endblock %}
40
 
                    {% block content %}{% endblock %}
41
 
                </div>
42
 
            </div>
43
 
            <div style="clear: both;">
44
 
                &nbsp;
45
 
            </div>
46
 
        </div>
47
 
 
48
 
        <div id="footer">
49
 
            Need help? Check our <a href="https://answers.launchpad.net/launchpad-results">FAQs</a>.<br />
50
 
            &copy;&nbsp;2004-2010&nbsp;<a href="http://canonical.com/">Canonical&nbsp;Ltd.</a><br />
51
 
<a href="https://launchpad.net/launchpad-results">Source code for Launchpad Results</a> is licensed under the <a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL</a>.<br />
52
 
        </div>
53
 
 
54
 
    </body>
55
 
</html>