negromate/web/templates/todo.html

43 lines
917 B
HTML
Raw Normal View History

2021-09-29 09:36:46 +02:00
{% extends "base.html" %}
{% block content %}
<h2>Pendientes</h2>
<table>
<thead>
<tr>
<th>Canción</th>
<th>Video</th>
<th>Subtitulos</th>
<th>ASS</th>
2021-09-29 09:36:46 +02:00
</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>
<td>{{ song.ass|display_boolean }}</td>
2021-09-29 09:36:46 +02:00
</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 %}