Files
Webanwendung-Netzwerk-Planer/templates/registration/login.html
T
H4nSoloandClaude Opus 5.5 15b6ba2bde Phase 0: Django-Grundgerüst, Docker und Konzept v0.2
- Django 5.2 LTS mit Apps inventar, topologie, export, scanner
- Konfiguration über .env (Vorlage .env.example), SQLite in data/
- Login und geschützte Startseite mit Bootstrap 5 (lokal)
- Dockerfile, docker-compose.yml, Entrypoint (migrate, collectstatic)
- README/AUFBAUPLAN: offene Punkte 1, 2, 4, 7 geklärt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:41:15 +01:00

32 lines
1.1 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{% extends "base.html" %}
{% block title %}Anmelden – Netzwerk Planer{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-sm-8 col-md-5 col-lg-4">
<div class="card shadow-sm">
<div class="card-body">
<h1 class="h4 mb-3">Anmelden</h1>
{% if form.errors %}
<div class="alert alert-danger py-2">Benutzername oder Passwort falsch.</div>
{% endif %}
<form method="post">
{% csrf_token %}
<div class="mb-3">
<label class="form-label" for="id_username">Benutzername</label>
<input class="form-control" type="text" name="username" id="id_username" autofocus required>
</div>
<div class="mb-3">
<label class="form-label" for="id_password">Passwort</label>
<input class="form-control" type="password" name="password" id="id_password" required>
</div>
<input type="hidden" name="next" value="{{ next }}">
<button type="submit" class="btn btn-primary w-100">Anmelden</button>
</form>
</div>
</div>
</div>
</div>
{% endblock %}