experiENS/monstage/templates/skeleton.html

34 lines
1.2 KiB
HTML
Raw Normal View History

{% load staticfiles %}
<!doctype html>
<html>
<head>
2015-06-17 00:54:14 +02:00
<title>{% block title %}ExperiENS{% endblock %}</title>
<link type="text/css" rel="stylesheet" href="{% static 'style.css' %}" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
{% block extra_head %}{% endblock %}
</head>
<body>
2015-06-20 00:02:36 +02:00
<header>
2015-09-21 11:30:41 +02:00
<h1><a href="{% url 'monstage:index' %}">ExperiENS<span class='beta'>beta</span></a></h1>
2015-06-20 00:02:36 +02:00
<nav>
<ul id="menu">
<li><a href="{% url 'monstage:index' %}">Accueil</a></li>
2015-09-21 11:30:41 +02:00
{% if user.username %}
2015-06-20 00:02:36 +02:00
<li><a href="{% url 'monstage:home' %}">Mon expérience</a></li>
<li><a href="{% url 'monstage:search' %}">Recherche</a></li>
2015-09-21 11:30:41 +02:00
{% endif %}
{% if user.is_staff %}
<li><a href="{% url 'admin:index' %}">Administration</a></li>
{% endif %}
{% if user.username %}<li><a href="{% url 'logout' %}"><span class="username">{{ user.username }}</span><br/> Déconnexion</a></li>
{% else %}<li><a href="{% url 'login' %}">Connexion</a></li>{% endif %}
2015-06-20 00:02:36 +02:00
</ul>
</nav>
</header>
2015-06-17 00:54:14 +02:00
<div id="content">
{% block content %}{% endblock %}
</div>
</body>
</html>