summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates/base.html
blob: 1900dbb843484f7a057ff13abee8b5a95a6b4d23 (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
<!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|title }}{% endblock %}</title>
		<meta name="author" content="" />
		<meta name="dc.language" content="en" />
		<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/normalize.css" />
		<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/bootstrap.css" />
		<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="navbar navbar-fixed-top">
				  <div class="navbar-inner">
					<div class="container">

                        <ul class="nav auth">
						{% if user.is_authenticated %}
							 <li><a class="mm_logout" href="{% url user_logout %}">Logout</a></li>
							 <li><a href="{% url user_profile %}">{{ user.username }}</a></li>
						{% else %}
							 <li><a class="mm_user" href="{% url user_login %}">Login</a></li>
							 <li><a href="{% url user_registration %}"> Sign Up </a></li>
						{% endif %}
                        </ul>


						<ul class="nav">

							<li class="root{% if not list_address %} active{% endif %}">
								<a href="{% url root %}">{{ app_name|title }}</a>
							</li>

						{% if list_address %}
							<li id="list_name" class="active">
								<a href="{% url list_overview mlist_fqdn=list_address %}">{{list_address}}</a>
							</li>
						{% endif %}


						</ul>
					</div>
				  </div>
			</div>
		</header>

		<div class="container">
			{% block content %} {% endblock %}
		</div>
		{% block footer %} {% endblock %}

	<script src="{{ STATIC_URL }}js/libs/jquery-1.7.1.min.js"></script>
	{% block additionaljs %} {% endblock %}

	</body>
</html>