From: Christian Heller Date: Tue, 3 Dec 2024 03:34:58 +0000 (+0100) Subject: In /file view, move deletion checkbox out of danger zone. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7B%20web_path%20%7D%7D/static/day?a=commitdiff_plain;h=aba2ef34e5f4cfa7976006ae57e04d58c47c763c;p=ytplom In /file view, move deletion checkbox out of danger zone. --- diff --git a/src/templates/_base.tmpl b/src/templates/_base.tmpl index 8839067..3f9edf4 100644 --- a/src/templates/_base.tmpl +++ b/src/templates/_base.tmpl @@ -9,6 +9,9 @@ diff --git a/src/templates/file_data.tmpl b/src/templates/file_data.tmpl index 15637f4..ceb6c2a 100644 --- a/src/templates/file_data.tmpl +++ b/src/templates/file_data.tmpl @@ -1,17 +1,25 @@ {% extends '_base.tmpl' %} +{% block css %} +td { width: 100%; } +td.flags { text-align: right; } +{% endblock %} + + {% block body %} {{ macros.nav_head(page_names) }} +
-
path:{{file.rel_path}}
YouTube ID:{{file.yt_id}}
present:{% if file.present %}yes{% else %}no{% endif %}
- +flags: {% for flag_name in flag_names %} {{ flag_name }}:
{% endfor %} + +
{% endblock %} diff --git a/src/templates/playlist.tmpl b/src/templates/playlist.tmpl index 507d1c3..e82aff1 100644 --- a/src/templates/playlist.tmpl +++ b/src/templates/playlist.tmpl @@ -29,10 +29,8 @@ window.onload = keep_updated; {% 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 %}