base_template.html 3.01 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html lang="fr">

<head>
    {% block head %}
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="icon" href="{{ url_for('static', filename='img/favicon.ico')}}" type="image/x-icon">
    <link rel="shortcut icon" href="{{ url_for('static', filename='img/favicon.ico')}}" type="image/x-icon">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="{{url_for('static', filename='css/bootstrap.min.css')}}" crossorigin="anonymous">
12
    <link rel="stylesheet" href="{{url_for('static', filename='css/sticky-footer-navbar.css')}}" crossorigin="anonymous">
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    <!-- Validata.css -->
    <link ref="stylesheet" href="{{url_for('static', filename='css/validata.css')}}" />

    <title>Validata - {% block title %}{% endblock %}</title>
    {% endblock %}
</head>

<body>
    <!-- horizontal navigation bar -->
    <nav class="navbar navbar-expand-lg navbar-light bg-faded">
        <a class="navbar-brand" href="{{ url_for('home') }}">
            <img src="{{ url_for('static', filename='img/logo-horizontal.png') }}" height="15" alt="" />
        </a>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
Pierre Dittgen's avatar
Pierre Dittgen committed
28
                <li><span class="muted" title="Ce service est encore en cours de développement">beta</span></li>
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
            </ul>
            <ul class="navbar-nav">
            </ul>
        </div>
    </nav>

    <!-- Breadcrumbs -->
    <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
            {% for bc in breadcrumbs %}
            <li class="breadcrumb-item"><a href="{{ bc.url }}">{{ bc.title|e }}</a></li>
            {% endfor %}
            <li class="breadcrumb-item active" aria-current="page">{{ title|e }}</li>
        </ol>
    </nav>

    <!-- Flashing messages -->
    {% with messages = get_flashed_messages(with_categories=true) %}
    {% if messages %}
    {% for category, message in messages %}
    <div class="alert alert-{{ category }} alert-dismissible fade show">
        {{ message }}
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
        </button>
    </div>
    {% endfor %}
    {% endif %}
    {% endwith %}

    <!-- main content -->
    <div id="content" class="container-fluid">
        {% block content %}{% endblock %}
    </div>

    <script src="{{url_for('static', filename='js/jquery-3.3.1.min.js')}}"></script>
    <script src="{{url_for('static', filename='js/popper.min.js')}}"></script>
    <script src="{{url_for('static', filename='js/bootstrap.min.js')}}"></script>
    {% block footer %}{% endblock %}
68
69
    <footer class="footer">
        <div class="container">
Pierre Dittgen's avatar
Pierre Dittgen committed
70
71
            <span class="muted">Un service de validation mis à disposition par <a href="http://www.opendatafrance.net/">Opendata
                    France</a> avec
72
73
74
                l'aide de <a href="https://jailbreak.paris">JailBreak</a></span>
        </div>
    </footer>
75
76
77
</body>

</html>