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,28 @@
|
||||
{#
|
||||
Datei: templates/mitarbeiter.html
|
||||
Autor: <Vorname Nachname>
|
||||
Datum: 2026-06-17
|
||||
Zweck: Projektübersicht für Mitarbeiter (nur zugewiesene Projekte).
|
||||
Variablen: user, projects (list[Project])
|
||||
#}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Meine Projekte{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Mitarbeiter Cockpit</h1>
|
||||
<p>Deine zugewiesenen Projekte:</p>
|
||||
|
||||
<ul class="project-list">
|
||||
{% for p in projects %}
|
||||
<li>
|
||||
<a href="{{ url_for('main.projekt', project_id=p.id) }}">{{ p.name }}</a>
|
||||
<span class="client-name">– {{ p.client.name }}</span>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>Keine Projekte zugewiesen.</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="{{ url_for('main.index') }}">← Zurück</a></p>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user