From 4b775ec0a8484e7a8516668c56c72aeefb14b2ce Mon Sep 17 00:00:00 2001 From: augustin64 Date: Thu, 22 Jun 2023 16:22:52 +0200 Subject: [PATCH] New {login,register}.html --- partitioncloud/templates/auth/login.html | 4 +-- partitioncloud/templates/auth/register.html | 36 +++++++++------------ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/partitioncloud/templates/auth/login.html b/partitioncloud/templates/auth/login.html index 112000c..7625da2 100644 --- a/partitioncloud/templates/auth/login.html +++ b/partitioncloud/templates/auth/login.html @@ -1,8 +1,6 @@ {% extends 'base.html' %} -{% block header %} -

{% block title %}Se connecter{% endblock %}

-{% endblock %} +{% block title %}Connexion{% endblock %} {% block content %}
diff --git a/partitioncloud/templates/auth/register.html b/partitioncloud/templates/auth/register.html index 0efbea1..232f6fe 100644 --- a/partitioncloud/templates/auth/register.html +++ b/partitioncloud/templates/auth/register.html @@ -1,25 +1,21 @@ {% extends 'base.html' %} -{% block header %} -

{% block title %}Créer un compte{% endblock %}

-{% endblock %} +{% block title %}Créer un compte{% endblock %} {% block content %} - - - - - - -
-{% if g.user.access_level == 1 %} - - - -{% endif %} +
+ {% if g.user.access_level == 1 %} + +
+
+ {% endif %} +
+
+ +
{% endblock %} \ No newline at end of file