2024-10-09 22:44:40 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>{% block title %}{% endblock %} - KankenOnline</title>
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
2024-10-14 10:34:39 +00:00
|
|
|
{% block styles %}{% endblock %}
|
|
|
|
{% block scripts %}{% endblock %}
|
2024-10-09 22:44:40 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav>
|
|
|
|
<h1>KankenOnline</h1>
|
|
|
|
<ul>
|
|
|
|
{% if g.user %}
|
|
|
|
<li><span>{{ g.user['username'] }}</span>
|
|
|
|
<li><a href="{{ url_for('options') }}">Options</a>
|
|
|
|
<li><a href="{{ url_for('auth.logout') }}">Log Out</a>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{ url_for('auth.register') }}">Register</a>
|
|
|
|
<li><a href="{{ url_for('auth.login') }}">Log In</a>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
<section class="content">
|
|
|
|
<header>
|
|
|
|
{% block header %}{% endblock %}
|
|
|
|
</header>
|
|
|
|
{% for message in get_flashed_messages() %}
|
|
|
|
<div class="flash">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|