negromate/web/templates/todo.html

41 lines
840 B
HTML

{% extends "base.html" %}
{% block content %}
<h2>Pendientes</h2>
<table>
<thead>
<tr>
<th>Canción</th>
<th>Video</th>
<th>Subtitulos</th>
</tr>
</thead>
<tbody>
{% for song in pending_songs %}
<tr>
<td>{{ song.name }}</td>
<td>{{ song.video|display_boolean }}</td>
<td>{{ song.has_subtitles|display_boolean }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<h2>Publicadas</h2>
<h3>Karaoke</h3>
<ul>
{% for song in songs %}
{% if song.metadata.karaoke %}
<li>{{ song.name }}</li>
{% endif %}
{% endfor %}
</ul>
<h3>SIN Karaoke</h3>
<ul>
{% for song in songs %}
{% if not song.metadata.karaoke %}
<li>{{ song.name }}</li>
{% endif %}
{% endfor %}
</ul>
{% endblock %}