diff options
| author | jvoisin | 2018-11-15 16:03:12 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-09 18:59:23 +0100 |
| commit | 3231047c1475c9e500a0e5f92ea129fccef8dd28 (patch) | |
| tree | 6aab8a78909887b36cdcfb089cf557a043f25875 /templates/base.html | |
| parent | 60aa7f879e16e4ae329c099eecffd97547b39a07 (diff) | |
Second commit
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..3f6e97b --- /dev/null +++ b/templates/base.html | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | <!doctype html> | ||
| 2 | <html> | ||
| 3 | <head> | ||
| 4 | <title>mat2 - web edition</title> | ||
| 5 | <link href="{{url_for('static', filename='raleway.woff2') }}" as="font" type="font/woff2" rel="preload"> | ||
| 6 | <link rel="stylesheet" href="{{ url_for('static', filename='normalize.css') }}" type="text/css" /> | ||
| 7 | <link rel="stylesheet" href="{{ url_for('static', filename='skeleton.css') }}" type="text/css" /> | ||
| 8 | <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css" /> | ||
| 9 | <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}"> | ||
| 10 | </head> | ||
| 11 | <body> | ||
| 12 | <div class="container"> | ||
| 13 | <div class="row"> | ||
| 14 | {% with messages = get_flashed_messages() %} | ||
| 15 | {% if messages %} | ||
| 16 | <ul class=flashes> | ||
| 17 | {% for message in messages %} | ||
| 18 | <li>{{ message }}</li> | ||
| 19 | {% endfor %} | ||
| 20 | </ul> | ||
| 21 | {% endif %} | ||
| 22 | {% endwith %} | ||
| 23 | </div> | ||
| 24 | |||
| 25 | <section> | ||
| 26 | <div class="row"> | ||
| 27 | <div class="four columns"> | ||
| 28 | <a href='.'> | ||
| 29 | <img class='u-max-full-width' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> | ||
| 30 | </a> | ||
| 31 | </div> | ||
| 32 | <div class="eight columns"> | ||
| 33 | {% block content %}{% endblock %} | ||
| 34 | </div> | ||
| 35 | </section> | ||
| 36 | |||
| 37 | <footer> | ||
| 38 | © <a href='https://dustri.org'>jvoisin</a> - | ||
| 39 | <a href='https://0xacab.org/jvoisin/mat2-web'>source</a> - | ||
| 40 | ♥ | ||
| 41 | </footer> | ||
| 42 | </body> | ||
