aboutsummaryrefslogtreecommitdiff
path: root/pyenc/templates/base.html
blob: b927b3d3f0aa5f4f0e4e17d7902cc90a0b573c54 (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
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8"/>
		<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
		<meta name="viewport" content="width=device-width, intial-scale=1"/>
		<link rel="icon" href="{{ url_for('static', filename='icon.svg') }}"/>
		<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet"/>
		<!-- <script type="module" src="{{ url_for('static', filename='js/script.js') }}"></script> -->
		<title>Puppet Classifier</title>
	</head>
	<body>
		<div id="flash">
			{% with messages = get_flashed_messages() %}
				{% if messages %}
					<ul class="flashes">
						{% for message in messages %}
							<li>{{ message }}</li>
						{% endfor %}
					</ul>
				{% endif %}
			{% endwith %}
		</div>
		<nav>
			<img src="{{ url_for('static', filename='icon.svg') }}"/>
			<ul>
				<li><a href="/host">Hosts</a>
				<li><a href="/environment">Environments</a>
				<li><a href="/class">Classes</a>
			</ul>
			<hr/>
			<ul>
				<li><a href="https://git.hornquist.se/puppet-classifier">Source</a>
			</ul>
		</nav>
		<main>
			{% block content %}
			{% endblock %}
		</main>
	</body>
</html>