partitioncloud-server/partitioncloud/templates/base.html
augustin64 664266bafd Changements mineurs concernant l'interface
Détails:
- Ajout d'une icône
- Modifications concernant les images de profils des utilisateurs
- Changement de l'ordre des partitions
2022-08-24 22:53:51 +02:00

34 lines
1.2 KiB
HTML

<!doctype html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}{% endblock %} - PartitionCloud</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='mobile.css') }}">
<link rel="icon" type="image/png" href="{{ url_for('static', filename='icon.png') }}" />
<link rel="apple-touch-icon" href="{{ url_for('static', filename='icon.png') }}">
</head>
<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 %}
<div id="header-actions">
{% block header_actions %}{% endblock %}
</div>
</header>
{% for message in get_flashed_messages() %}
<div class="flash">{{ message }}</div>
{% endfor %}
{% block content %}{% endblock %}
</section>