citavi_mapper/frontend/templates/layout/base.html

58 lines
1.8 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="Mapping citavi datasets against more 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' %}
<!-- Dynamic Formsets -->
{% compressed_js 'formsets' %}
<!-- /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">
{% block navbar-header %}
<li><a href="/">Index</a></li>
<li>
{% if user.is_anonymous %}
<a href="/login">Login</a>
{% else %}
<a href="/logout">Logout</a>
{% endif %}
</li>
{% endblock %}
</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>