diff --git a/server/templates/my_cases.html b/server/templates/my_cases.html index 06e9ed4..e43b486 100644 --- a/server/templates/my_cases.html +++ b/server/templates/my_cases.html @@ -20,13 +20,15 @@ section h2 .count { font-weight: normal; font-size: 0.85em; color: #888; } .case-row.open { border-left: 4px solid #4a90e2; } .case-row .check { align-self: start; padding-top: 0.25em; } .case-row .body { min-width: 0; } -.case-row .body a { color: inherit; text-decoration: none; } -.case-row .body a:hover .line1 { text-decoration: underline; } .case-row .body h3 { margin: 0 0 0.2em 0; font-size: 1em; font-weight: 600; } .case-row .body small { color: #666; font-family: monospace; font-size: 0.85em; } .case-row .oneliner { color: #333; margin: 0.2em 0 0; } -.case-row .line1 { font-size: 1em; margin: 0; } +.case-row .line1 { font-size: 1em; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25em 0.6em; } .case-row .line1 .time { font-family: monospace; font-weight: bold; color: #444; } +.case-row .case-link { color: inherit; text-decoration: none; min-width: 0; } +.case-row .case-link:hover { text-decoration: underline; } +.case-row .recordings-link { color: #4a90e2; text-decoration: none; font-size: 0.9em; white-space: nowrap; } +.case-row .recordings-link:hover { text-decoration: underline; } .case-row .preview { margin: 0.3em 0 0; color: #666; font-size: 0.9em; display: -webkit-box; -webkit-line-clamp: var(--preview-lines); line-clamp: var(--preview-lines); -webkit-box-orient: vertical; overflow: hidden; } .case-row .uuid { color: #999; font-family: monospace; font-size: 0.7em; margin-top: 0.2em; } .status-badge { display: inline-block; padding: 0.05em 0.5em; border-radius: 999px; font-size: 0.75em; font-weight: bold; color: white; } @@ -40,7 +42,7 @@ section h2 .count { font-weight: normal; font-size: 0.85em; color: #888; } .case-row .actions .reopen-btn { padding: 0.3em; background: transparent; border: none; color: #888; cursor: pointer; display: inline-flex; align-items: center; line-height: 0; border-radius: 4px; transition: color 0.15s, background 0.15s; } .case-row .actions .reopen-btn:hover { color: #4a90e2; background: #eef4fb; } .case-row.closed { opacity: 0.65; background: #fafafa; } -.case-row.closed .body a { color: #777; } +.case-row.closed .case-link { color: #777; } .case-row .closed-badge { display: inline-block; margin-left: 0.5em; padding: 0.05em 0.5em; border-radius: 999px; font-size: 0.75em; font-weight: bold; background: #ddd; color: #444; } .closed-toggle { display: block; margin: 0.5em 0 1em; font-size: 0.9em; color: #4a90e2; text-decoration: none; } @@ -95,11 +97,12 @@ try {
  • - -
    — {% call ol::render(case.oneliner) %} — {{ case.recordings_count }} Aufnahmen{% if case.has_failed_recording %} — Fehler{% else if case.has_document %} — ausgewertet{% else if !case.is_closed %} — offen{% endif %}{% if case.analyzing %} wird analysiert{% endif %}{% if case.is_closed %} geschlossen{% match case.days_until_purge %}{% when Some with (d) %} — wird in {{ d }} Tagen entfernt{% when None %}{% endmatch %}{% endif %}
    +
    {% match case.analysis_preview %}{% when Some with (preview) %}

    {{ preview }}

    {% when None %}{% endmatch %} {% if is_admin %}
    {{ case.case_id }}
    {% endif %} -
    {% if is_admin %}