2012-08-28 21:06:20 +02:00
|
|
|
<!DOCTYPE html>
|
2012-08-28 18:44:51 +02:00
|
|
|
{% autoescape off %}
|
2012-08-28 21:06:20 +02:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Zephyr</title>
|
2012-08-28 21:06:35 +02:00
|
|
|
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
2012-08-28 22:08:45 +02:00
|
|
|
<link href="/static/styles/zephyr.css" rel="stylesheet">
|
2012-08-29 00:36:30 +02:00
|
|
|
<link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
2012-08-28 22:52:23 +02:00
|
|
|
{# We need to import jQuery before Bootstrap #}
|
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
|
|
|
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
|
2012-08-29 17:45:15 +02:00
|
|
|
<script src="/static/js/common.js"></script>
|
2012-08-28 21:06:20 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2012-08-29 20:30:17 +02:00
|
|
|
<div class="navbar">
|
2012-08-28 21:56:46 +02:00
|
|
|
<div class="navbar-inner">
|
2012-08-29 00:36:30 +02:00
|
|
|
<div class="container-fluid">
|
|
|
|
<a class="brand" href="/">Humbug</a>
|
2012-08-29 21:32:29 +02:00
|
|
|
<ul class="nav">
|
|
|
|
<li class="divider-vertical"></li>
|
2012-08-28 21:56:46 +02:00
|
|
|
{% block nav %}
|
|
|
|
{% endblock %}
|
2012-08-29 21:32:29 +02:00
|
|
|
</ul>
|
2012-08-29 00:36:30 +02:00
|
|
|
{% if user.is_authenticated %}
|
2012-08-29 21:32:29 +02:00
|
|
|
<p class="navbar-text pull-right">
|
|
|
|
Logged in as {{ user_profile.user.username }}
|
|
|
|
</p>
|
2012-08-29 00:36:30 +02:00
|
|
|
{% endif %}
|
2012-08-28 21:56:46 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-08-28 18:44:51 +02:00
|
|
|
|
2012-08-28 21:56:46 +02:00
|
|
|
<div class="container">
|
2012-08-28 18:44:51 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
2012-08-28 21:06:20 +02:00
|
|
|
|
2012-08-28 21:56:46 +02:00
|
|
|
</div>
|
|
|
|
|
2012-08-28 21:06:20 +02:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|
2012-08-28 18:44:51 +02:00
|
|
|
{% endautoescape %}
|