mat2-web/templates/base.html

55 lines
2.0 KiB
HTML
Raw Normal View History

2018-11-15 16:03:12 +01:00
<!doctype html>
<html>
2020-04-13 22:09:14 +02:00
<head>
<title>MAT2</title>
<link href="{{ url_for('static', filename='raleway.woff2') }}" as="font" type="font/woff2" rel="preload">
<link rel="stylesheet" href="{{ url_for('static', filename='normalize.css') }}" type="text/css"/>
<link rel="stylesheet" href="{{ url_for('static', filename='uikit.min.css') }}" type="text/css"/>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" type="text/css"/>
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}">
<script defer src="{{ url_for('static', filename='script.js') }}"></script>
</head>
<body>
2019-10-28 12:15:31 +01:00
<header class="main-header">
<div class="uk-container">
2020-04-13 22:09:14 +02:00
<div class="row">
<div class="two-half column">
<a href='.' class="u-center-block">
<img class='logo' src="{{ url_for('static', filename='logo.png') }}" alt="mat2 logo"/>
</a>
</div>
2019-10-28 12:15:31 +01:00
</div>
</div>
</header>
2018-11-15 16:03:12 +01:00
2020-04-13 22:09:14 +02:00
<div class="uk-flex uk-flex-center">
<div>
{% with messages = get_flashed_messages() %}
{% if messages %}
{% for message in messages %}
<div class="uk-alert uk-alert-danger">
<p>
{{ message }}
</p>
</div>
{% endfor %}
{% endif %}
{% endwith %}
</div>
</div>
<div class="uk-container uk-flex uk-flex-center">
<section>
<div class="row uk-flex uk-flex-center">
{% block content %}{% endblock %}
</div>
</section>
</div>
2018-11-15 16:03:12 +01:00
2020-04-13 22:09:14 +02:00
<footer>
© <a href='https://dustri.org'>jvoisin</a> -
<a href='https://0xacab.org/jvoisin/mat2-web'>source</a> -
</footer>
</body>