mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 17:26:26 +01:00
Nex index.html (kinda empty)
This commit is contained in:
parent
7369e6f8d3
commit
fb630f863b
@ -1,37 +1,10 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
{% block header %}
|
{% block title %}Home{% endblock %}
|
||||||
<h1 id="album-name">{% block title %}Albums{% endblock %}</h1>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block header_actions %}
|
|
||||||
<a href="create-album">
|
|
||||||
<button id="new-album">Nouvel Album</button>
|
|
||||||
</a>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<form action="/albums/search" method="post" id="search-form">
|
<div style="text-align: center;">
|
||||||
<input id="search-bar" type="search" name="query" placeholder="Rechercher" required>
|
Bonjour <i><b>{{ user.username }}</b></i> !<br/>
|
||||||
<br/>
|
Aucun album sélectionné
|
||||||
<select id="nb-queries" name="nb-queries">
|
|
||||||
{% for i in range(0, MAX_QUERIES+1) %}
|
|
||||||
<option value="{{ i }}">{{ i }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
<label for="nb-queries" id="nb-queries-label">Recherches en ligne</label>
|
|
||||||
</form>
|
|
||||||
<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>
|
</div>
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
|
||||||
<div>Aucun album disponible</div>
|
|
||||||
{% endif %}
|
|
||||||
</section>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Reference in New Issue
Block a user