{% extends '_base.tmpl' %}
+{% block css %}
+td { width: 100%; }
+td.flags { text-align: right; }
+{% endblock %}
+
+
{% block body %}
{{ macros.nav_head(page_names) }}
+<form action="/{{page_names.file}}/{{file.digest.b64}}" method="POST" />
<table>
<tr><th>path:</th><td>{{file.rel_path}}</td></tr>
<tr><th>YouTube ID:</th><td><a href="/{{page_names.yt_result}}/{{file.yt_id}}">{{file.yt_id}}</a></tr>
<tr><th>present:</th><td>{% if file.present %}<a href="/{{page_names.download}}/{{file.yt_id}}">yes</a>{% else %}no{% endif %}</td></tr>
-</table>
-<form action="/{{page_names.file}}/{{file.digest.b64}}" method="POST" />
+<tr><th>flags:</th><td class="flags">
{% for flag_name in flag_names %}
{{ flag_name }}: <input type="checkbox" name="{{flag_name}}" {% if file.is_flag_set(flag_name) %}checked {% endif %} /><br />
{% endfor %}
+</td></tr>
+</table>
<input type="submit" />
</form>
{% endblock %}
{% block css %}
-table { width: 100%; }
#status { text-align: center; font-weight: bold; }
th { text-align: center; }
-td { vertical-align: top; }
td.history { width: 50%; }
td.entry_buttons { width: 5em; }
{% endblock %}