diff options
Diffstat (limited to 'templates/base.html')
| -rw-r--r-- | templates/base.html | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/templates/base.html b/templates/base.html index b337df5..17c28f2 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -10,20 +10,14 @@ | |||
| 10 | <link rel="stylesheet" href="{{ ASSET_URL }}"> | 10 | <link rel="stylesheet" href="{{ ASSET_URL }}"> |
| 11 | {% endassets %} | 11 | {% endassets %} |
| 12 | </head> | 12 | </head> |
| 13 | <body> | 13 | <body class="flex flex-col h-screen justify-between"> |
| 14 | <header class=""> | 14 | <header class="h-20 w-full bg-blue-100 my-0 flex justify-center"> |
| 15 | <div class="container"> | 15 | <a href='.' class="mt-8"> |
| 16 | <div> | 16 | <img class='max-h-28' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> |
| 17 | <div> | 17 | </a> |
| 18 | <a href='.'> | ||
| 19 | <img class='logo' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/> | ||
| 20 | </a> | ||
| 21 | </div> | ||
| 22 | </div> | ||
| 23 | </div> | ||
| 24 | </header> | 18 | </header> |
| 25 | 19 | ||
| 26 | <div class="container mx-auto"> | 20 | <div class="container h-10 mt-8"> |
| 27 | <div> | 21 | <div> |
| 28 | {% with messages = get_flashed_messages() %} | 22 | {% with messages = get_flashed_messages() %} |
| 29 | {% if messages %} | 23 | {% if messages %} |
| @@ -39,15 +33,11 @@ | |||
| 39 | </div> | 33 | </div> |
| 40 | </div> | 34 | </div> |
| 41 | 35 | ||
| 42 | <div> | 36 | <section class="container mb-auto mx-auto mt-8"> |
| 43 | <section> | 37 | {% block content %}{% endblock %} |
| 44 | <div> | 38 | </section> |
| 45 | {% block content %}{% endblock %} | ||
| 46 | </div> | ||
| 47 | </section> | ||
| 48 | </div> | ||
| 49 | 39 | ||
| 50 | <footer> | 40 | <footer class="h-10 flex justify-center"> |
| 51 | © <a href='https://dustri.org'>jvoisin</a> - | 41 | © <a href='https://dustri.org'>jvoisin</a> - |
| 52 | <a href='https://0xacab.org/jvoisin/mat2-web'>source</a> - | 42 | <a href='https://0xacab.org/jvoisin/mat2-web'>source</a> - |
| 53 | ♥ | 43 | ♥ |
