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; border-style: unset;
} }
select {
max-width: 190px; /* We don't want loong album names to break the css */
}
textarea { textarea {
resize: both; resize: both;
} }

View File

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

View File

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