Minor html changes

This commit is contained in:
augustin64 2022-10-02 20:59:37 +02:00
parent 2a0787441c
commit f34ffa205e
2 changed files with 15 additions and 13 deletions

View File

@ -47,6 +47,6 @@
{% endfor %}
</div>
{% else %}
<div>Aucune partition disponible</div>
<div id="partitions-grid">Aucune partition disponible</div>
{% endif %}
{% endblock %}

View File

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}Albums{% endblock %}</h1>
<h1 id="album-name">{% block title %}Albums{% endblock %}</h1>
{% endblock %}
{% block header_actions %}
@ -17,15 +17,17 @@
<input type="checkbox" id="online-search" name="online-search" value="online-search" checked="on">
<label for="online-search" id="online-search-label">Recherche en ligne</label>
</form>
{% if albums|length != 0 %}
{% for album in albums %}
<a href="{{ album['uuid'] }}">
<div class="album-cover" id="album-{{ album['id'] }}">
{{ album["name"] }}
</div>
</a>
{% endfor %}
{% else %}
<div>Aucun album disponible</div>
{% endif %}
<section id="albums">
{% if albums|length != 0 %}
{% for album in albums %}
<a href="{{ album['uuid'] }}">
<div class="album-cover" id="album-{{ album['id'] }}">
{{ album["name"] }}
</div>
</a>
{% endfor %}
{% else %}
<div>Aucun album disponible</div>
{% endif %}
</section>
{% endblock %}