2021-12-02 22:30:17 +01:00
|
|
|
{% load static %}
|
2021-12-03 04:22:10 +01:00
|
|
|
{% load md5 %}
|
2021-12-02 22:30:17 +01:00
|
|
|
|
|
|
|
<head>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}">
|
|
|
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
|
|
|
<script src="{% static 'js/script.js' %}"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<nav>
|
|
|
|
<div class="left">
|
|
|
|
<a href="" class="logo">LSDD</a>
|
|
|
|
<div class="submenu">
|
2021-12-03 04:22:10 +01:00
|
|
|
<a href="/a/">Articles</a>
|
|
|
|
<a href="/p/">Personnes</a>
|
|
|
|
<a href="/c/">Equipages</a>
|
2021-12-02 22:30:17 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-03 04:22:10 +01:00
|
|
|
<div class="right">
|
|
|
|
<a href="#quicksearch"><i class="material-icons search">search</i></a>
|
|
|
|
{% if user.is_authenticated %}
|
|
|
|
<a href="{% url 'logout' %}"><img src="https://www.gravatar.com/avatar/{{ user.email | lower | md5 }}"></a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url 'login' %}">Login</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2021-12-02 22:30:17 +01:00
|
|
|
</nav>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
{% block content %}
|
|
|
|
{% endblock %}
|
|
|
|
</div>
|
|
|
|
</body>
|