blob: 7bbf6ae445673c91a4c41fcc67269168a267f703 (
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
|
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="ROBOTS" content="INDEX, FOLLOW" />
<title>{% block title %}{{ app_name }}{% endblock %}</title>
<meta name="author" content="" />
<meta name="dc.language" content="en" />
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css" />
{% block additional_stylesheets %} {% endblock %}
</head>
{% load i18n %}
<body>
<!-- Header -->
<div class="header">
{% block header %}
<div id="headline">
<ul class="inline-block">
{% if list_address %}
<li id="list_name">
<a href="/list/{{list_address}}">{{list_name}}</a>
</li>
{% else %}
<li id="list_name">
<a href="/list/">{{list_name}}</a>
</li>
{% endif %}
<li id="page_date">
{{month}}
</li>
<li>
{% if user.is_authenticated %}<a class="mm_logout" href="{% url user_logout %}">Logout</a>{% else %}<a class="mm_user" href="{% url user_login %}">Login</a>{% endif %}
</li>
</ul>
{% if user.is_authenticated %}
<div class="mm_loginName">
Logged in as: <a href="{% url user_profile %}">{{ user.username }}</a>
</div>
{% endif %}
{% if list_address %}
{% include 'lists/list_nav.html' %}
{% endif %}
</div>
{% endblock %}
</div>
<!-- End of Header -->
<div id="content">
{% block content %} {% endblock %}
</div>
{% block footer %} {% endblock %}
</body>
<script src="{{ STATIC_URL }}js/libs/jquery-1.7.1.min.js"></script>
{% block additionaljs %} {% endblock %}
</html>
|