Create base.html
Browse files- templates/base.html +27 -0
templates/base.html
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>{% block title %}Lecteur de Podcasts{% endblock %}</title>
|
| 7 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div class="container">
|
| 11 |
+
<nav>
|
| 12 |
+
<a href="{{ url_for('index') }}">Accueil</a>
|
| 13 |
+
<a href="{{ url_for('gestion') }}">Gestion des Podcasts</a>
|
| 14 |
+
</nav>
|
| 15 |
+
<hr>
|
| 16 |
+
{% with messages = get_flashed_messages(with_categories=true) %}
|
| 17 |
+
{% if messages %}
|
| 18 |
+
{% for category, message in messages %}
|
| 19 |
+
<div class="message {{ category }}">{{ message }}</div>
|
| 20 |
+
{% endfor %}
|
| 21 |
+
{% endif %}
|
| 22 |
+
{% endwith %}
|
| 23 |
+
{% block content %}{% endblock %}
|
| 24 |
+
</div>
|
| 25 |
+
{% block scripts %}{% endblock %}
|
| 26 |
+
</body>
|
| 27 |
+
</html>
|