From 1c1dc0bbccee9645edbafdcdcf07612f4a4987b4 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Thu, 22 Jun 2023 16:22:11 +0200 Subject: [PATCH] Various other fixes --- partitioncloud/static/style.css | 4 ++++ partitioncloud/templates/albums/delete-album.html | 4 +--- partitioncloud/templates/albums/search.html | 10 ++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/partitioncloud/static/style.css b/partitioncloud/static/style.css index f44a704..1d3bd00 100644 --- a/partitioncloud/static/style.css +++ b/partitioncloud/static/style.css @@ -453,6 +453,10 @@ textarea { border-style: unset; } +select { + max-width: 190px; /* We don't want loong album names to break the css */ +} + textarea { resize: both; } diff --git a/partitioncloud/templates/albums/delete-album.html b/partitioncloud/templates/albums/delete-album.html index da70a42..83b22d5 100644 --- a/partitioncloud/templates/albums/delete-album.html +++ b/partitioncloud/templates/albums/delete-album.html @@ -1,8 +1,6 @@ {% extends 'base.html' %} -{% block header %} -

{% block title %}Supprimer {{ album.name }}{% endblock %}

-{% endblock %} +{% block title %}Supprimer {{ album.name }}{% endblock %} {% block content %} Êtes vous sûr de vouloir supprimer cet album ? diff --git a/partitioncloud/templates/albums/search.html b/partitioncloud/templates/albums/search.html index e886324..1bdb79f 100644 --- a/partitioncloud/templates/albums/search.html +++ b/partitioncloud/templates/albums/search.html @@ -1,12 +1,10 @@ {% extends 'base.html' %} -{% block header %} -

{% block title %}Résultats de la recherche "{{ query }}"{% endblock %}

-{% endblock %} +{% block title %}Résultats de la recherche "{{ query }}"{% endblock %} {% block content %} {% if partitions|length != 0 %} -

Résultats dans la bibliothèque locale

+

Résultats dans la bibliothèque locale

{% for partition in partitions %}
@@ -19,7 +17,7 @@
-
+