~ubuntuone-pqm-team/canonical-identity-provider/trunk

« back to all changes in this revision

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

  • Committer: Danny Tamez
  • Date: 2010-04-21 15:29:24 UTC
  • Revision ID: danny.tamez@canonical.com-20100421152924-lq1m92tstk2iz75a
Canonical SSO Provider (Open Source) - Initial Commit

Show diffs side-by-side

added added

removed removed

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