From f34ffa205ed23fc5665d9d8e4cf02a0f5cb40ade Mon Sep 17 00:00:00 2001 From: augustin64 Date: Sun, 2 Oct 2022 20:59:37 +0200 Subject: [PATCH] Minor html changes --- partitioncloud/templates/albums/album.html | 2 +- partitioncloud/templates/albums/index.html | 26 ++++++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/partitioncloud/templates/albums/album.html b/partitioncloud/templates/albums/album.html index 995f9e5..4bdd840 100644 --- a/partitioncloud/templates/albums/album.html +++ b/partitioncloud/templates/albums/album.html @@ -47,6 +47,6 @@ {% endfor %} {% else %} -
Aucune partition disponible
+
Aucune partition disponible
{% endif %} {% endblock %} \ No newline at end of file diff --git a/partitioncloud/templates/albums/index.html b/partitioncloud/templates/albums/index.html index 860b71c..12b605c 100644 --- a/partitioncloud/templates/albums/index.html +++ b/partitioncloud/templates/albums/index.html @@ -1,7 +1,7 @@ {% extends 'base.html' %} {% block header %} -

{% block title %}Albums{% endblock %}

+

{% block title %}Albums{% endblock %}

{% endblock %} {% block header_actions %} @@ -17,15 +17,17 @@ -{% if albums|length != 0 %} - {% for album in albums %} - -
- {{ album["name"] }} -
-
- {% endfor %} -{% else %} -
Aucun album disponible
-{% endif %} +
+ {% if albums|length != 0 %} + {% for album in albums %} + +
+ {{ album["name"] }} +
+
+ {% endfor %} + {% else %} +
Aucun album disponible
+ {% endif %} +
{% endblock %} \ No newline at end of file