summaryrefslogtreecommitdiff
path: root/templates/base.html
blob: 66b60d81db965a4633a4b9d478d0193f504dcae3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!doctype html>
<html>
	<head>
		<title>mat2 - web edition</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>
    <header class="main-header">
        <div class="uk-container">
           <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>
           </div>
        </div>
    </header>
		<div class="uk-container uk-flex uk-flex-center">
			<div class="row uk-flex uk-flex-center">
				{% with messages = get_flashed_messages() %}
				{% if messages %}
				<ul class=flashes>
					{% for message in messages %}
					<li>{{ message }}</li>
					{% endfor %}
				</ul>
				{% endif %}
				{% endwith %}
			</div>

			<section>
				<div class="row uk-flex uk-flex-center">
                    {% block content %}{% endblock %}
                </div>
			</section>

			<footer>
				© <a href='https://dustri.org'>jvoisin</a> - 
				<a href='https://0xacab.org/jvoisin/mat2-web'>source</a> -
				♥
			</footer>
	</body>