Prototype implementation

This commit is contained in:
tegwick 2026-05-08 14:26:48 +02:00
parent 315143a6fc
commit 14b0bc6d01
160 changed files with 5731 additions and 42 deletions

View file

@ -1,7 +1,7 @@
---
id: WP-0003
title: Basis-UI — Shell-Layout, Templates, Template-Tags, Navigation
status: todo
status: done
phase: 3-of-12
created: "2026-05-08"
depends_on: WP-0002
@ -24,7 +24,7 @@ Tailwind-Klassen aus WP-0001 (`static/src/main.css`) werden hier genutzt.
```task
id: WP-0003-T01
title: Template-Verzeichnisstruktur und base.html Shell-Layout
status: todo
status: done
Erstelle Verzeichnisstruktur:
```
@ -94,7 +94,7 @@ TEMPLATES = [{
```task
id: WP-0003-T02
title: Topbar-Partial
status: todo
status: done
`vergabe_teilnahme/templates/partials/topbar.html`:
@ -120,7 +120,7 @@ Topbar-Höhe: `h-14` (56px), `bg-white border-b border-slate-200`.
```task
id: WP-0003-T03
title: Sidebar globale Navigation
status: todo
status: done
`vergabe_teilnahme/templates/partials/sidebar.html`:
@ -175,7 +175,7 @@ Füge CSS-Hilfsklassen in `static/src/main.css` hinzu:
```task
id: WP-0003-T04
title: Context-Processor und Phasen-Navigator-Partial
status: todo
status: done
**Context-Processor** `vergabe_teilnahme/apps/core/context_processors.py`:
```python
@ -223,7 +223,7 @@ Implementiere diese Funktion in `core/services.py`.
```task
id: WP-0003-T05
title: Breadcrumb-Partial
status: todo
status: done
`vergabe_teilnahme/templates/partials/breadcrumb.html`:
@ -252,7 +252,7 @@ Erstelle eine Hilfsfunktion `core.views_helpers.make_breadcrumbs(*args)` die die
```task
id: WP-0003-T06
title: Template-Tags: status_badge und phase_badge
status: todo
status: done
Erstelle `vergabe_teilnahme/apps/core/templatetags/__init__.py` (leer).
Erstelle `vergabe_teilnahme/apps/core/templatetags/vergabe_tags.py`.
@ -306,7 +306,7 @@ Erstelle `partials/status_badge.html`:
```task
id: WP-0003-T07
title: Template-Tag: render_field (EntityFieldConfig-aware)
status: todo
status: done
Ergänze `vergabe_tags.py`:
@ -359,7 +359,7 @@ da Admin-Änderungen sofort wirken sollen — entscheide dich für kein Caching
```task
id: WP-0003-T08
title: Feedback-Button und Feedback-Modal-Partial
status: todo
status: done
`partials/feedback_button.html`:
```html
@ -419,7 +419,7 @@ Verkable URLs in `feedback/urls.py` und include in Haupt-URLs.
```task
id: WP-0003-T09
title: Error-Templates und Django-URL-Konfiguration
status: todo
status: done
`vergabe_teilnahme/templates/errors/404.html`:
```html
@ -464,7 +464,7 @@ path('lose/', include('vergabe_teilnahme.apps.lose.urls')),
```task
id: WP-0003-T10
title: Einfache Startseite mit Redirect und Smoke-Test
status: todo
status: done
Erstelle `core/views.py` mit einer einfachen Redirect-View auf das Dashboard:
```python