login.html 938 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. {% load bootstrap5 %}
  2. <!DOCTYPE html>
  3. <html lang="de">
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>Login</title>
  7. {% bootstrap_css %}
  8. <style>
  9. body {
  10. font-family: Tahoma, sans-serif;
  11. margin: 0;
  12. padding: 0;
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. height: 100vh;
  17. background-color: #f8f9fa;
  18. }
  19. .login-container {
  20. background: white;
  21. padding: 20px;
  22. border-radius: 8px;
  23. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div class="login-container">
  29. <h2>Login</h2>
  30. <form method="post">
  31. {% csrf_token %}
  32. {% bootstrap_form form %}
  33. <button type="submit" class="btn btn-primary">Login</button>
  34. </form>
  35. </div>
  36. {% bootstrap_javascript %}
  37. </body>
  38. </html>