zulip/templates/zephyr/base.html

50 lines
1.3 KiB
HTML

<!DOCTYPE html>
{% autoescape off %}
<html>
<head>
<title>Zephyr</title>
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/styles/zephyr.css" rel="stylesheet">
<link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<link href="/static/styles/jquery-ui-1.8.23.custom.css" rel="stylesheet">
{# 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="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/common.js"></script>
</head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a class="brand" href="/">Humbug</a>
<ul class="nav">
<li class="divider-vertical"></li>
{% block nav %}
{% endblock %}
</ul>
{% if user.is_authenticated %}
<p class="navbar-text pull-right">
Logged in as {{ user_profile.user.username }}
</p>
{% endif %}
</div>
</div>
</div>
<div class="container">
{% block content %}
{% endblock %}
</div>
</body>
</html>
{% endautoescape %}