update
This commit is contained in:
91
AzA march 2026/intern_portal/templates/dashboard.html
Normal file
91
AzA march 2026/intern_portal/templates/dashboard.html
Normal file
@@ -0,0 +1,91 @@
|
||||
{% extends "layout.html" %}
|
||||
{% set active = 'dashboard' %}
|
||||
{% block page_title %}Dashboard – AzA Intern{% endblock %}
|
||||
{% block content %}
|
||||
<div class="page-header">
|
||||
<h2>Dashboard</h2>
|
||||
</div>
|
||||
|
||||
<div class="hint-banner">
|
||||
Bitte keine Patientendaten, API-Keys oder Passwörter hochladen.
|
||||
</div>
|
||||
|
||||
<div class="grid-2">
|
||||
<div class="card">
|
||||
<h3>Offene Aufgaben</h3>
|
||||
{% if open_tasks %}
|
||||
<table>
|
||||
<thead><tr><th>Titel</th><th>Status</th><th>Priorität</th></tr></thead>
|
||||
<tbody>
|
||||
{% for t in open_tasks %}
|
||||
<tr>
|
||||
<td><a href="/tasks/{{ t.id }}">{{ t.title }}</a></td>
|
||||
<td>{{ t.status }}</td>
|
||||
<td>{{ t.priority }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="empty-state">Keine offenen Aufgaben.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Warten auf André</h3>
|
||||
{% if waiting_tasks %}
|
||||
<table>
|
||||
<thead><tr><th>Titel</th><th>Kategorie</th></tr></thead>
|
||||
<tbody>
|
||||
{% for t in waiting_tasks %}
|
||||
<tr>
|
||||
<td><a href="/tasks/{{ t.id }}">{{ t.title }}</a></td>
|
||||
<td>{{ t.category or '–' }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="empty-state">Keine Aufgaben in Wartestatus.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Letzte Uploads</h3>
|
||||
{% if recent_files %}
|
||||
<table>
|
||||
<thead><tr><th>Datei</th><th>Kategorie</th></tr></thead>
|
||||
<tbody>
|
||||
{% for f in recent_files %}
|
||||
<tr>
|
||||
<td><a href="/files/{{ f.id }}/download">{{ f.original_filename }}</a></td>
|
||||
<td>{{ f.category or '–' }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="empty-state">Noch keine Dateien.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h3>Letzte Notizen</h3>
|
||||
{% if recent_notes %}
|
||||
<table>
|
||||
<thead><tr><th>Titel</th><th>Kategorie</th></tr></thead>
|
||||
<tbody>
|
||||
{% for n in recent_notes %}
|
||||
<tr>
|
||||
<td>{{ n.title }}</td>
|
||||
<td>{{ n.category or '–' }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% else %}
|
||||
<p class="empty-state">Noch keine Notizen.</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user