-
Notifications
You must be signed in to change notification settings - Fork 7
/
base.html
64 lines (60 loc) · 2.25 KB
/
base.html
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
{% load tags %}
{% load bundler_tags %}
<!-- You are in a twisting series of little tubes, all alike. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Mozilla Labs - Game On 2010</title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
{% load_bundle "styles-min" %}
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="/media/css/ie.css"/>
<![endif]-->
</head>
<body class="{% block class %}{% endblock %}">
<div id="page">
<header class="menu">
<a class="toplogo" href="http://www.mozillalabs.com/gaming/" target="_blank">
<img src="{{ MEDIA_URL }}img/logo.png" border="0">
</a>
{% navigation %}
<section id="auth">
{% if user.is_authenticated %}
signed in as {{ user.username }} |
{% if settings.ALLOW_SUBMISSIONS or user.game_set.all %}
<a href="{% url games.mine %}">your games</a>|
{% endif %}
<a href="{% url auth_logout %}?next=/">logout</a>
{% else %}
<a class="login" href="{% url auth_login %}">login</a>
or
<a class="join" href="{% url registration_register %}">sign up</a>
{% endif %}
</section>
</header>
{% if messages %}
<ul id="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
<div id="content">
{% block content %}
{% endblock %}
</div>
<footer>
<a href="http://www.mozillalabs.com"><img class="logo" src="{{ MEDIA_URL }}img//labs-logo.png" border="0"></a>
Copyright © 2005-2010 Mozilla. All rights reserved.
<a href="http://www.mozilla.com/en-US/privacy-policy.html">Privacy Policy</a>
<a href="http://www.mozilla.com/en-US/about/legal.html">Legal Notices</a>
</footer>
</div>
{% load_bundle "scripts-min" %}
{% deferred_content %}
</body>
</html>