mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 17:26:26 +01:00
24 lines
793 B
HTML
24 lines
793 B
HTML
|
<!doctype html>
|
||
|
<title>{% block title %}{% endblock %} - PartitionCloud</title>
|
||
|
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
||
|
<nav>
|
||
|
<h1><a href="{{ url_for('albums.index') }}">PartitionCloud</a></h1>
|
||
|
<ul>
|
||
|
{% if g.user %}
|
||
|
<li><span>{{ g.user['username'] }}</span>
|
||
|
<li><a href="{{ url_for('auth.logout') }}">Déconnexion</a>
|
||
|
{% else %}
|
||
|
<li><a href="{{ url_for('auth.register') }}">Créer un compte</a>
|
||
|
<li><a href="{{ url_for('auth.login') }}">Se connecter</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>
|