Login HTML use Base HTML

This commit is contained in:
jvs
2025-01-24 16:42:53 +01:00
parent e906a7f6de
commit 0bfc19bbf9
2 changed files with 7 additions and 13 deletions

View File

@@ -1,14 +1,9 @@
{% load static %} {% extends 'accounts/base.html' %}
<!DOCTYPE html> {% block title %}Login{% endblock %}
<html lang="en"> {% block stylesheet %}accounts/css/login.css{% endblock %}
<head> {% block content %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link rel="stylesheet" href="{% static 'accounts/css/login.css' %}">
</head>
<body>
<div class="login-container"> <div class="login-container">
<h2>Anmeldung</h2>
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
<div class="input-group"> <div class="input-group">
@@ -20,5 +15,4 @@
<button type="submit" class="login-button">LOG IN</button> <button type="submit" class="login-button">LOG IN</button>
</form> </form>
</div> </div>
</body> {% endblock %}
</html>

View File

@@ -1,5 +1,5 @@
{% extends 'accounts/base.html' %} {% extends 'accounts/base.html' %}
{% block title %}Registrierung{% endblock %} {% block title %}Registrierung{% endblock %}
{% block content %} {% block content %}
<h1>Register</h1> <h2>Registrierung</h2>
{% endblock %} {% endblock %}