snapshot: preserve base shell standardization

This commit is contained in:
Md Bayazid Bostame
2026-03-24 17:50:03 +01:00
parent 5c6d300c4e
commit a4f5b9ee8f
14 changed files with 180 additions and 206 deletions

View File

@@ -1,13 +1,10 @@
{% extends 'workflows/base_shell.html' %}
{% load static i18n %}
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{% trans "Anmeldung" %}</title>
<link rel="stylesheet" href="{% static 'workflows/css/buttons.css' %}" />
<link rel="stylesheet" href="{% static 'workflows/css/app_chrome.css' %}" />
<style>
{% block title %}{% trans "Anmeldung" %}{% endblock %}
{% block extra_head %}
<style>
body { margin: 0; font-family: Arial, sans-serif; min-height: 100vh; background: linear-gradient(160deg, #eef6ff, #fff3f3); padding: 24px; }
.card { width: min(420px, calc(100% - 28px)); margin: 0 auto; background: #fff; border: 1px solid #d9e3f0; border-radius: 14px; padding: 20px; box-shadow: 0 12px 30px rgba(28, 45, 79, 0.12); }
h1 { margin: 0 0 8px; font-size: 24px; }
@@ -18,11 +15,14 @@
.btn { width: 100%; }
.errorlist { color: #b91c1c; margin: 6px 0; }
</style>
</head>
<body>
{% include 'workflows/includes/app_header.html' with header_show_home=0 %}
<div class="card">
<h1>{% trans "Anmeldung" %}</h1>
{% endblock %}
{% block shell_header %}
{% include 'workflows/includes/app_header.html' %}
{% endblock %}
{% block shell_body %}
<div class="card"><h1>{% trans "Anmeldung" %}</h1>
<p>{% trans "Bitte melden Sie sich mit Ihrem Benutzerkonto an." %}</p>
<form method="post" action="/accounts/login/">
@@ -35,5 +35,6 @@
<button class="btn btn-primary" type="submit">{% trans "Anmelden" %}</button>
</form>
</div>
</body>
</html>
{% endblock %}
{% endblock %}