Various other fixes

This commit is contained in:
augustin64 2023-06-22 16:22:11 +02:00
parent 13039dcf07
commit 1c1dc0bbcc
3 changed files with 9 additions and 9 deletions

View File

@ -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;
}

View File

@ -1,8 +1,6 @@
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Supprimer {{ album.name }}{% endblock %}</h1>
{% endblock %}
{% block title %}Supprimer {{ album.name }}{% endblock %}
{% block content %}
Êtes vous sûr de vouloir supprimer cet album ?

View File

@ -1,12 +1,10 @@
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Résultats de la recherche "{{ query }}"{% endblock %}</h1>
{% endblock %}
{% block title %}Résultats de la recherche "{{ query }}"{% endblock %}
{% block content %}
{% if partitions|length != 0 %}
<h4>Résultats dans la bibliothèque locale</h4>
<h3>Résultats dans la bibliothèque locale</h3>
<div id="partitions-grid">
{% for partition in partitions %}
<div class="partition-container">
@ -19,7 +17,7 @@
</div>
</div>
</a>
<form action="/albums/add-partition" method="post">
<form action="/albums/add-partition" class="add-partition-form" method="post">
<select name="album-uuid">
{% for album in user.albums %}
<option value="{{ album['uuid'] }}">{{ album["name"] }}</option>
@ -34,7 +32,7 @@
</div>
{% endif %}
{% if google_results|length != 0 %}
<h4>Résultats de la recherche en ligne</h4>
<h3>Résultats de la recherche en ligne</h3>
<div id="partitions-grid">
{% for partition in google_results %}
<div class="partition-container">