From 052b06abedfb76068e865b20d0d3594b4c363642 Mon Sep 17 00:00:00 2001 From: bernd Date: Wed, 30 Sep 2026 22:38:16 +0200 Subject: [PATCH] editor.py aktualisiert --- editor.py | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 81 insertions(+), 3 deletions(-) diff --git a/editor.py b/editor.py index 518d267..5dc60ec 100644 --- a/editor.py +++ b/editor.py @@ -1355,7 +1355,85 @@ th { color:var(--color-text-muted); font-weight:normal; } .spinner { width:54px; height:54px; border:5px solid var(--color-control-hover); border-top-color:var(--color-white); border-radius:50%; animation:spin .8s linear infinite; } @keyframes spin { to { transform:rotate(360deg); } } @media(max-width:900px) { .filter-bar { grid-template-columns:1fr 1fr; } .filter-bar .search { grid-column:auto; } } -@media(max-width:800px) { body { padding:12px; } table,thead,tbody,tr,th,td { display:block; } thead { display:none; } tr { padding:10px 0; border-bottom:1px solid var(--color-border); } td { border:0; padding:5px 0; } } +@media(max-width:800px) { + body { padding:12px; } + + .recordings-table, .recordings-table tbody, .recordings-table tr, .recordings-table td, + .finished-table, .finished-table tbody, .finished-table tr, .finished-table td { + display:block; + } + + .recordings-table, .finished-table { + background:transparent; + } + + .recordings-table thead, .finished-table thead { display:none; } + + .recordings-table tbody, .finished-table tbody { + display:grid; + gap:12px; + } + + .recordings-table tr, .finished-table tr { + padding:12px 14px; + border:1px solid var(--color-border); + border-radius:12px; + background:var(--color-surface); + box-shadow:0 2px 8px var(--color-shadow); + } + + .recordings-table td, .finished-table td { + display:grid; + grid-template-columns:92px minmax(0,1fr); + gap:10px; + align-items:baseline; + border:0; + padding:7px 0; + min-width:0; + } + + .recordings-table td::before, .finished-table td::before { + color:var(--color-text-muted); + font-size:11px; + font-weight:600; + text-transform:uppercase; + letter-spacing:.04em; + } + + .recordings-table td:nth-child(1)::before { content:"Dateiname"; } + .recordings-table td:nth-child(2)::before { content:"Größe"; } + .recordings-table td:nth-child(3)::before { content:"Dauer"; } + .recordings-table td:nth-child(4) { + display:block; + padding-top:9px; + border-top:1px solid var(--color-border-subtle); + margin-top:4px; + } + .recordings-table td:nth-child(4)::before { content:none; } + + .finished-table td:nth-child(1)::before { content:"Zeitpunkt"; } + .finished-table td:nth-child(2)::before { content:"Redner"; } + .finished-table td:nth-child(3)::before { content:"Beschreibung"; } + .finished-table td:nth-child(4)::before { content:"Veranstaltung"; } + .finished-table td:nth-child(5)::before { content:"Dauer"; } + .finished-table td:nth-child(6) { + display:block; + padding-top:9px; + border-top:1px solid var(--color-border-subtle); + margin-top:4px; + } + .finished-table td:nth-child(6)::before { content:none; } + + .recordings-table .actions, .finished-table .actions { + display:flex; + gap:7px; + flex-wrap:wrap; + } + + .recordings-table .button, .finished-table .button { + margin:0; + } +} @@ -1376,7 +1454,7 @@ th { color:var(--color-text-muted); font-weight:normal; }
{% if recordings %} - +
{% for item in recordings %} @@ -1410,7 +1488,7 @@ th { color:var(--color-text-muted); font-weight:normal; }
{% if finished %} -
DateinameGrößeDauer
+
{% for item in finished %}
ZeitpunktRednerBeschreibungVeranstaltungDauer