contentmatcher/templates/base.html

24 lines
763 B
HTML
Raw Normal View History

2022-05-13 18:20:09 +02:00
<!doctype html>
2022-06-07 18:57:48 +02:00
<title>{% block title %}{% endblock %} - contentmatcher </title>
2022-05-13 18:20:09 +02:00
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<nav>
2022-06-07 18:57:48 +02:00
<h1><a href="{{ url_for('menu.index') }}">contentmatcher</a></h1>
2022-05-13 18:20:09 +02:00
<ul>
2022-05-22 16:52:01 +02:00
{% if username %}
<li><span>{{username}}</span>
2022-05-13 18:20:09 +02:00
<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>