58 lines
No EOL
2.4 KiB
HTML
58 lines
No EOL
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
<title>Manuels - {% block title %}{% endblock %}</title>
|
|
<link rel="icon" type="image/png" href="data:;base64,iVBORw0KGgo=">
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css"
|
|
integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
|
|
|
|
<script src="https://kit.fontawesome.com/350c07ee78.js"
|
|
integrity="sha384-7cupKsyf1krt0hPaFhz7o347RIzmECgbuiiOTe+NbIi9eA5z8RSNuYFdTDgRTZHH"
|
|
crossorigin="anonymous">
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
<a class="navbar-brand" href="{% url 'home_page' %}">Manuels scolaires</a>
|
|
{% if user.is_authenticated or teacher and teacher.email in authorized_mails %}
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
|
|
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav ml-auto">
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="{% url 'admin:index' %}">
|
|
<i class="fas fa-door-open"></i>
|
|
Administration
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
{% endif %}
|
|
</nav>
|
|
<div class="container-fluid">
|
|
{% for message in messages %}
|
|
<div class="alert alert-{{ message.tags }} fade show" role="alert">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
{% block content %}
|
|
{% endblock %}
|
|
</div>
|
|
|
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
|
|
crossorigin="anonymous"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"
|
|
integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ"
|
|
crossorigin="anonymous"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"
|
|
integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm"
|
|
crossorigin="anonymous"></script>
|
|
{% block end_js %}
|
|
{% endblock %}
|
|
</body>
|
|
</html> |