nuitdelinfo_2021/templates/base.html
flifloo 5771853cdc Merge branch 'master' into kybo
# Conflicts:
#	templates/base.html
2021-12-03 04:55:50 +01:00

35 lines
1.2 KiB
HTML

{% load static %}
{% load md5 %}
<head>
<link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel = "stylesheet" href = "http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<script src="{% static 'js/script.js' %}"></script>
</head>
<body>
<nav>
<div class="left">
<a href="/" class="logo">LSDD</a>
<div class="submenu">
<a href="/a/">Sauvetages</a>
<a href="/p/">Personnes</a>
<a href="/b/">Bateaux</a>
</div>
</div>
<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>
</nav>
<div class="container">
{% block content %}
{% endblock %}
</div>
</body>