py app init + zitadel doku
This commit is contained in:
1 parent
5b649f96f2
commit
5a0260e4fd
23 files changed
+1071
-1
No files matched your search
@@ -0,0 +1,40 @@
|
||||
{#
|
||||
Datei: templates/projekt.html
|
||||
Autor: <Vorname Nachname>
|
||||
Datum: 2026-06-17
|
||||
Zweck: Projekt-Cockpit mit Notizen-Log. Zugriff nur für zugewiesene Nutzer.
|
||||
Variablen: user, project (Project), notes (list[Note])
|
||||
#}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ project.name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ project.name }}</h1>
|
||||
<p class="subtitle">Client: {{ project.client.name }}</p>
|
||||
|
||||
<section>
|
||||
<h2>Korrespondenz / Notizen</h2>
|
||||
{% if notes %}
|
||||
<table class="notes-table">
|
||||
<thead>
|
||||
<tr><th>Datum</th><th>Autor (sub)</th><th>Notiz</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for n in notes %}
|
||||
<tr>
|
||||
<td>{{ n.created_at.strftime('%Y-%m-%d %H:%M') }}</td>
|
||||
<td><code>{{ n.user_id }}</code></td>
|
||||
<td>{{ n.text }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
<button class="btn" disabled title="Noch nicht implementiert">Notizen exportieren</button>
|
||||
{% else %}
|
||||
<p>Keine Notizen für dieses Projekt vorhanden.</p>
|
||||
{% endif %}
|
||||
</section>
|
||||
|
||||
<p><a href="{{ url_for('main.index') }}">← Zurück zum Dashboard</a></p>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user