diff options
| author | jf | 2019-10-28 12:15:31 +0100 |
|---|---|---|
| committer | jf | 2019-10-28 12:15:31 +0100 |
| commit | 43f97e4f82e6b087289ce79f5380f5b716703e8f (patch) | |
| tree | 85cae7d9ce0d0e66015889154ddbaac673447e58 /templates/base.html | |
| parent | 05d40216ee96649038f465ae2f28ac7ba28c5048 (diff) | |
save wip
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/templates/base.html b/templates/base.html index 572e0dc..66b60d8 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -4,14 +4,25 @@ | |||
| 4 | <title>mat2 - web edition</title> | 4 | <title>mat2 - web edition</title> |
| 5 | <link href="{{url_for('static', filename='raleway.woff2') }}" as="font" type="font/woff2" rel="preload"> | 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" /> | 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" /> | 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" /> | 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') }}"> | 9 | <link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}"> |
| 10 | <script defer src="{{url_for('static', filename='script.js') }}"></script> | 10 | <script defer src="{{url_for('static', filename='script.js') }}"></script> |
| 11 | </head> | 11 | </head> |
| 12 | <body> | 12 | <body> |
| 13 | <div class="container"> | 13 | <header class="main-header"> |
| 14 | <div class="row"> | 14 | <div class="uk-container"> |
| 15 | <div class="row"> | ||
| 16 | <div class="two-half column"> | ||
| 17 | <a href='.' class="u-center-block"> | ||
| 18 | <img class='logo' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> | ||
| 19 | </a> | ||
| 20 | </div> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| 23 | </header> | ||
| 24 | <div class="uk-container uk-flex uk-flex-center"> | ||
| 25 | <div class="row uk-flex uk-flex-center"> | ||
| 15 | {% with messages = get_flashed_messages() %} | 26 | {% with messages = get_flashed_messages() %} |
| 16 | {% if messages %} | 27 | {% if messages %} |
| 17 | <ul class=flashes> | 28 | <ul class=flashes> |
| @@ -24,15 +35,9 @@ | |||
| 24 | </div> | 35 | </div> |
| 25 | 36 | ||
| 26 | <section> | 37 | <section> |
| 27 | <div class="row"> | 38 | <div class="row uk-flex uk-flex-center"> |
| 28 | <div class="four columns"> | 39 | {% block content %}{% endblock %} |
| 29 | <a href='.'> | 40 | </div> |
| 30 | <img class='u-max-full-width' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> | ||
| 31 | </a> | ||
| 32 | </div> | ||
| 33 | <div class="eight columns"> | ||
| 34 | {% block content %}{% endblock %} | ||
| 35 | </div> | ||
| 36 | </section> | 41 | </section> |
| 37 | 42 | ||
| 38 | <footer> | 43 | <footer> |
