Files
KantSites/templates/admin/login.html.twig
T
kantarciandClaude Opus 5 84d471acd9 Das System heißt KantSites
Umut hat den Namen festgelegt: aus dem Arbeitstitel "Kant CMS" wird KantSites.
Geändert in allen Seitentiteln der Verwaltung, im Wortmarken-Schriftzug von
Anmeldung und Seitenleiste, in den Fußzeilen, in den Demoinhalten für eine
frische Installation, in package.json, .claude/launch.json und der
Dokumentation. Die Bezeichnung der Website in der Datenbank heißt jetzt
ebenfalls KantSites.

Nicht angefasst: die bereits gespeicherten Demoinhalte der lokalen
Installation. Titel wie "Die Grundlage · Kant CMS" und der Text im
Kopfbereich sind Inhalt, nicht Systemname - die gehören in den Editor, nicht
in ein Skript, das Revisionen umschreibt.

219 PHP-Tests / 881 Assertions grün, Playwright-Editortest grün.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-12 18:36:50 +02:00

22 lines
1.4 KiB
Twig
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 'admin/base.html.twig' %}
{% block title %}Anmelden{% endblock %}
{% block body_class %}login-body{% endblock %}
{% block body %}
<main id="admin-main" class="login-card" tabindex="-1">
<a class="brand" href="/" aria-label="KantSites – öffentliche Website"><span class="brand-icon" aria-hidden="true">k.</span>kant<span>sites</span></a>
<p class="eyebrow">DEIN RAUM ZUM GESTALTEN</p>
<h1>Willkommen zurück.</h1>
<p class="muted">Melde dich an, um deine Seiten zu bearbeiten.</p>
{% if error %}<p class="notice error" role="alert">Anmeldung fehlgeschlagen. Prüfe deine Zugangsdaten und versuche es erneut. Nach mehreren Versuchen bitte eine Minute warten.</p>{% endif %}
<form method="post" action="{{ path('admin_login') }}">
<label for="username">Benutzername</label>
<input id="username" name="_username" value="{{ username }}" autocomplete="username" required maxlength="100" autofocus>
<label for="password">Passwort</label>
<input id="password" name="_password" type="password" autocomplete="current-password" required>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<button class="primary full-width" type="submit">Anmelden <span aria-hidden="true">→</span></button>
</form>
<a class="quiet-link" href="/">Zur öffentlichen Website</a>
</main>
{% endblock %}