| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {% load bootstrap5 %}
- <!DOCTYPE html>
- <html lang="de">
- <head>
- <meta charset="UTF-8">
- <title>Login</title>
- {% bootstrap_css %}
- <style>
- body {
- font-family: Tahoma, sans-serif;
- margin: 0;
- padding: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100vh;
- background-color: #f8f9fa;
- }
- .login-container {
- background: white;
- padding: 20px;
- border-radius: 8px;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- }
- </style>
- </head>
- <body>
- <div class="login-container">
- <h2>Login</h2>
- <form method="post">
- {% csrf_token %}
- {% bootstrap_form form %}
- <button type="submit" class="btn btn-primary">Login</button>
- </form>
- </div>
- {% bootstrap_javascript %}
- </body>
- </html>
|