diff options
| author | Jfriedli | 2021-03-18 14:18:28 +0100 |
|---|---|---|
| committer | Jfriedli | 2021-03-18 14:18:28 +0100 |
| commit | b325dcc4523f13dfe7c741335a7bb80a91a1fac6 (patch) | |
| tree | 1af6e2456419a7f3ebbb41c95fb08f5a53151212 /templates/base.html | |
| parent | 81780062aea2f9de8dd704de1da7743937b79c38 (diff) | |
refactor index and download finished
Diffstat (limited to '')
| -rw-r--r-- | templates/base.html | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/templates/base.html b/templates/base.html index 576f264..8d6712c 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -13,25 +13,17 @@ | |||
| 13 | </head> | 13 | </head> |
| 14 | 14 | ||
| 15 | <body class="flex flex-col h-screen justify-between"> | 15 | <body class="flex flex-col h-screen justify-between"> |
| 16 | <header class="h-20 w-full bg-blue-100 my-0 flex justify-center"> | 16 | <header class="h-20 w-full bg-blue-light my-0 flex justify-center"> |
| 17 | <a href='.' class="mt-8"> | 17 | <a href='.' class="mt-8"> |
| 18 | <img class='max-h-28' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo" /> | 18 | <img class='max-h-28' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo" /> |
| 19 | </a> | 19 | </a> |
| 20 | </header> | 20 | </header> |
| 21 | 21 | ||
| 22 | 22 | <section class="mb-auto mt-12 pt-8"> | |
| 23 | |||
| 24 | <section class="mb-auto mt-8 pt-8"> | ||
| 25 | {% with messages = get_flashed_messages() %} | 23 | {% with messages = get_flashed_messages() %} |
| 26 | {% if messages %} | 24 | {% if messages %} |
| 27 | {% for message in messages %} | 25 | {% for message in messages %} |
| 28 | <div class="text-white px-6 py-4 border-0 rounded relative mb-4 bg-red-500"> | 26 | <div class="text-white px-6 py-4 border-0 relative mb-4 bg-red-500"> |
| 29 | <span class="text-xl inline-block mr-5 align-middle"> | ||
| 30 | <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> | ||
| 31 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" | ||
| 32 | d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /> | ||
| 33 | </svg> | ||
| 34 | </span> | ||
| 35 | <span class="inline-block align-middle mr-8"> | 27 | <span class="inline-block align-middle mr-8"> |
| 36 | {{ message }} | 28 | {{ message }} |
| 37 | </span> | 29 | </span> |
