gadjo/gadjo/templates/gadjo/base.html

75 lines
1.8 KiB
HTML

{% load url from future %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>{% block page-title %}{% endblock %}</title>
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/gadjo.css"/>
{% block css %}
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css"/>
{% endblock %}
<script src="{{ STATIC_URL }}js/jquery-1.7.2.min.js"></script>
<script src="{{ STATIC_URL }}js/jquery-ui-1.8.21.custom.min.js"></script>
{% block extrascripts %}
{% endblock %}
</head>
<body>
<div id="wrap-large">
<div id="header">
<h1><a href="/">{% block site-title %}{% endblock %}</a></h1>
</div>
<div id="splash">
<div id="user-links">
{% block user-links %}
{% if user.id %}
<a href="index.html">Déconnexion</a>
{% endif %}
{% endblock %}
</div>
</div>
<div id="more-user-links">
{% block more-user-links %}
<a href="/" class="icon-home-space">Accueil</a>
{% endblock %}
</div>
<div id="content">
<div id="appbar">
{% block appbar %}
{% endblock %}
</div>
{% block messages %}
{% if messages %}
<ul class="messages">
{% for message in messages %}
<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
{% endfor %}
</ul>
<script>
$(document).ready(function() { $('.messages').delay(5000).fadeOut('slow'); });
</script>
{% endif %}
{% endblock %}
{% block beforecontent %}
{% endblock %}
{% block content %}
{% endblock %}
<br style="clear: both;"/>
</div>
<div id="footer">
{% block footer %}
Copyright &copy; 2014 Entr'ouvert
{% endblock %}
</div>
</div>
{% block page-end %}
{% endblock %}
</body>
</html>