Commit 6d5cc0dea276ae1bee8bbd8c6013f16c3bc9be9e

Authored by hitier
1 parent e90be54b

Head is now included

Showing 2 changed files with 8 additions and 10 deletions   Show diff stats
app/templates/base_page.html
1 1 <!doctype html>
2   -<html lang="en">
  2 +<html lang="fr">
3 3 <head>
4   - <meta charset="utf-8">
5   - <meta content="width=device-width, initial-scale=1" name="viewport">
6   - <link href="{{ url_for('static', filename='img/pdc.png') }}" rel="icon"/>
7   - <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
  4 + {% include 'heads.html' %}
8 5 <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css"/>
9   - <title>{% if title %} {{title}} {% else %}Plan de Charge{%endif%}</title>
10 6 </head>
11 7 <body>
12 8  
13   - <header>
14   - </header>
15   -
16 9 <nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0">
17 10 <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">Plan de Charges</a>
18 11 <ul class="navbar-nav px-3">
19 12 <li class="nav-item text-nowrap">
20   - <a class="nav-link" href="#">Sign out</a>
  13 + <a class="nav-link" href="{{ url_for('auth.login') }}">Sign out</a>
21 14 </li>
22 15 </ul>
23 16 </nav>
... ...
app/templates/heads.html 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 + <meta charset="utf-8">
  2 + <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
  3 + <link href="{{ url_for('static', filename='img/pdc.png') }}" rel="icon"/>
  4 + <link href="{{ url_for('static', filename='css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
  5 + <title>{% if title %} {{title}} {% else %}Plan de Charge{%endif%}</title>
0 6 \ No newline at end of file
... ...