blob: 3a92cd07781b60c6965f3c73ad68a618038b29d1 (
plain) (
blame)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minecraft UI</title>
<script src="/static/htmx.min.js"></script>
<link rel="stylesheet" href="/static/style.css">
</head>
<body hx-boost="true">
<nav>
<span class="brand">Minecraft UI</span>
<div class="nav-links">
<a href="/">Dashboard</a>
<a href="/instances">Instances</a>
<a href="/players">Players</a>
{% if is_superuser %}
<a href="/accounts">Accounts</a>
{% endif %}
<span class="nav-user">{{ username }}</span>
<form action="/logout" method="post" style="display:inline">
<button type="submit" class="btn-link">Logout</button>
</form>
</div>
</nav>
{% if password_change_required %}
<div class="flash flash-warn">
You must change your password before continuing.
</div>
{% endif %}
<main>
{% block content %}{% endblock %}
</main>
</body>
</html>
|