citavi_mapper/frontend/templates/layout/base.html

55 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Merging Citavi projects and mapping existing datasets.">
<title>{% block title %}{{page.name}} :: {{page.title}}{% endblock %}</title>
{% load staticfiles compressed %}
<!-- jQuery -->
<script type="application/javascript" src="{% static 'jquery/jquery-2.1.1.min.js' %}" charset="utf-8"></script>
<!-- Bootstrap -->
{% compressed_css 'bootstrap' %}
{% compressed_js 'bootstrap' %}
<!-- /Bootstrap -->
{% compressed_css 'frontend' %}
<!-- Additional -->
{% block head %}{% endblock %}
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="/"><img src="{% static 'images/logo.png' %}"> {{page.name}}</a>
<ul class="nav navbar-nav">
<li><a href="/">Index</a></li>
<li><a href="/register">Register</a></li>
<li>
{% if user.is_anonymous %}
<a href="/login">Login</a>
{% else %}
<a href="/logout">Logout</a>
{% endif %}
</li>
</ul>
</div>
</div>
</nav>
<div class="page-header">
<div id="header" class="container">
{% block header %}
<h1>{{page.title}}</h1>
{% endblock %}
</div>
</div>
<div id="content" class="container">
{% block content %}{% endblock %}
</div>
<div id="footer" class="footer">
<div class="container">
<p class="text-muted">{% block footer %}This software proudly presented by <a href="http://hs-hannocer.de">Hochschule Hannover</a>{% endblock %}</p>
</div>
</div>
</body>
</html>