You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<script>(() => {onload_list = []; window.onload = (f) => {onload_list.push(f)}; window.__is_loaded = () => {onload_list.forEach(x => x());window.__is_loaded = () => undefined} })()</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.3.1/socket.io.js"></script>
<meta charset="UTF-8">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TOTPAL - {{ title }}</title>
<script src="{{ url_for('static', filename='site.js') }}"></script>
{% block head %}
{% endblock %}
</head>
<body>
<nav><div class="container flex">
{% block nav %}
<div class="">
<h1>TOTPAL <span>{{ title }}</span> </h1>
</div>
<div class="username flex-grow"></div>
<div>
{% block links %}
<a href="/">Home</a>
{% endblock %}
</div>
{% endblock %}
</div></nav>
<main class="flex-grow">
<div class="container">
{% for message in get_flashed_messages() %}
<div class="flash-msg flex"><span class="flex-grow">{{ message | safe }}</span> <span class="close-btn">&times;</span></div>
{% endfor %}
{% block content %}
No content
{% endblock %}
</div>
</main>
<footer>
<div class="container">
{% block footer %}
&copy; Copyright by AntonLydike - play at your own risk
{% endblock %}
</div>
</footer>
<script>
if (__is_loaded) {__is_loaded()}
</script>
</body>
</html>