-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.html
35 lines (33 loc) · 1.09 KB
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% block title %}
<title>layout</title>
{% endblock %}
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" >
{% block stylesheets %}
<link rel="stylesheet" href="{{ url_for('static', filename='mes_styles.css') }}" >
<link rel="stylesheet" href="{{ url_for('static', filename='bootstrap/css/bootstrap.css') }}" >
{% endblock %}
</head>
<body>
{% include('_nav.html') %}
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for categorie, message in messages %}
<div role="alert" class="alert {{ categorie }}">
Information : <strong>{{ message }}</strong>
</div>
{% endfor %}
{% endif %}
{% endwith %}
{% block body %}
<h2 style="color:black">layout.html</h2>
{% endblock %}
{% block javascripts %}
<script src="{{ url_for('static', filename='bootstrap/js/bootstrap.js') }}"></script>
{% endblock %}
</body>
</html>