diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/templates/base.html b/templates/base.html index 6f0f57a..b337df5 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -1,20 +1,21 @@ | |||
| 1 | <!doctype html> | 1 | <!doctype html> |
| 2 | <html> | 2 | <html lang="en"> |
| 3 | <head> | 3 | <head> |
| 4 | <title>MAT2</title> | 4 | <title>MAT2</title> |
| 5 | <meta charset="UTF-8"> | ||
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 5 | <link href="{{ url_for('static', filename='raleway.woff2') }}" as="font" type="font/woff2" rel="preload"> | 7 | <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='uikit.min.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') }}"> | 8 | <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}"> |
| 10 | <script defer src="{{ url_for('static', filename='script.js') }}"></script> | 9 | {% assets 'css' %} |
| 10 | <link rel="stylesheet" href="{{ ASSET_URL }}"> | ||
| 11 | {% endassets %} | ||
| 11 | </head> | 12 | </head> |
| 12 | <body> | 13 | <body> |
| 13 | <header class="main-header"> | 14 | <header class=""> |
| 14 | <div class="uk-container"> | 15 | <div class="container"> |
| 15 | <div class="row"> | 16 | <div> |
| 16 | <div class="two-half column"> | 17 | <div> |
| 17 | <a href='.' class="u-center-block"> | 18 | <a href='.'> |
| 18 | <img class='logo' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> | 19 | <img class='logo' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> |
| 19 | </a> | 20 | </a> |
| 20 | </div> | 21 | </div> |
| @@ -22,12 +23,12 @@ | |||
| 22 | </div> | 23 | </div> |
| 23 | </header> | 24 | </header> |
| 24 | 25 | ||
| 25 | <div class="uk-flex uk-flex-center"> | 26 | <div class="container mx-auto"> |
| 26 | <div> | 27 | <div> |
| 27 | {% with messages = get_flashed_messages() %} | 28 | {% with messages = get_flashed_messages() %} |
| 28 | {% if messages %} | 29 | {% if messages %} |
| 29 | {% for message in messages %} | 30 | {% for message in messages %} |
| 30 | <div class="uk-alert uk-alert-danger"> | 31 | <div> |
| 31 | <p> | 32 | <p> |
| 32 | {{ message }} | 33 | {{ message }} |
| 33 | </p> | 34 | </p> |
| @@ -38,9 +39,9 @@ | |||
| 38 | </div> | 39 | </div> |
| 39 | </div> | 40 | </div> |
| 40 | 41 | ||
| 41 | <div class="uk-container uk-flex uk-flex-center"> | 42 | <div> |
| 42 | <section> | 43 | <section> |
| 43 | <div class="row uk-flex uk-flex-center"> | 44 | <div> |
| 44 | {% block content %}{% endblock %} | 45 | {% block content %}{% endblock %} |
| 45 | </div> | 46 | </div> |
| 46 | </section> | 47 | </section> |
