mat2-web/templates/base.html

65 lines
2.9 KiB
HTML
Raw Normal View History

2018-11-15 16:03:12 +01:00
<!doctype html>
<html lang="en">
<head>
<title>MAT2</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}">
{% assets 'css' %}
<link rel="stylesheet" href="{{ ASSET_URL }}">
{% endassets %}
2021-03-21 16:34:55 +01:00
<!-- Search Engine -->
<meta name="description" content="Keep your data, trash your meta!">
<meta name="image" content="{{ url_for('static', filename='og.png', _external=True) }}">
<!-- Schema.org for Google -->
<meta itemprop="name" content="MAT2 Web">
<meta itemprop="description" content="Keep your data, trash your meta!">
<meta itemprop="image" content="{{ url_for('static', filename='og.png', _external=True) }}">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="MAT2 Web">
<meta name="twitter:description" content="Keep your data, trash your meta!">
<meta name="twitter:image:src" content="{{ url_for('static', filename='og.png', _external=True) }}">
<!-- Open Graph general (Facebook, Pinterest & Google+) -->
<meta name="og:title" content="MAT2 Web">
<meta name="og:description" content="Keep your data, trash your meta!">
<meta name="og:image" content="{{ url_for('static', filename='og.png', _external=True) }}">
<meta name="og:url" content="{{ url_for('routes.upload_file', _external=True) }}">
<meta name="og:site_name" content="MAT2 Web">
<meta name="og:type" content="website">
</head>
2021-03-18 10:38:18 +01:00
<body class="flex flex-col h-screen justify-between">
2021-03-18 14:18:28 +01:00
<header class="h-20 w-full bg-blue-light my-0 flex justify-center">
2021-03-18 10:38:18 +01:00
<a href='.' class="mt-8">
<img class='max-h-28' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo" />
2021-03-18 10:38:18 +01:00
</a>
2019-10-28 12:15:31 +01:00
</header>
2018-11-15 16:03:12 +01:00
2021-03-18 14:18:28 +01:00
<section class="mb-auto mt-12 pt-8">
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
2021-03-18 14:18:28 +01:00
<div class="text-white px-6 py-4 border-0 relative mb-4 bg-red-500">
<span class="inline-block align-middle mr-8">
{{ message }}
</span>
2020-04-13 22:09:14 +02:00
</div>
{% endfor %}
{% endif %}
{% endwith %}
2020-04-13 22:09:14 +02:00
2021-03-18 10:38:18 +01:00
{% block content %}{% endblock %}
</section>
2018-11-15 16:03:12 +01:00
2021-03-18 10:38:18 +01:00
<footer class="h-10 flex justify-center">
2021-03-18 15:40:37 +01:00
<a class="flex justify-center" target="_blank" rel="noreferrer" href="https://0xacab.org/jvoisin/mat2-web" class="text-blue-dark">
<svg class="w-4 h-4 mr-2 text-blue-dark self-center" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
</svg>
<span class="self-center text-blue-dark">source</span>
</a>
2020-04-13 22:09:14 +02:00
</footer>
</body>