feat: добавить auth функционал, URL и Docker конфигурацию
Some checks failed
Build and Push Docker Image / build (push) Failing after 12s

- Добавлены views, URL и страницы для входа, регистрации, профиля
- Обновлён основной маршрут users/urls.py
- Перенаправлен маршрут catalog вместо items
- Обновлена структура header с добавлением ссылки на главную
- Создан Dockerfile и workflow для сборки и доставки образов
This commit is contained in:
2026-03-30 22:32:31 +02:00
parent d522489e7f
commit 28c4e08bb6
11 changed files with 162 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
{% extends '_layouts/base.html' %}
{% load static %}
{% block title %}Вход{% endblock %}
{% block add_css %}
<link rel="stylesheet" href="{% static 'css/login.css' %}">
{% endblock %}
{% block content %}
<div class="full-page">
{% include "_fragments/header.html" %}
<div class="center-wrapper">
<form class="login-form" action="">
<h2>ВХОД</h2>
<div class="form-group">
<label class="form-label" for="login">Логин</label>
<input class="form-input" type="text" id="login">
</div>
<div class="form-group">
<label class="form-label" for="password">Пароль</label>
<input class="form-input" type="password" id="password">
</div>
<div class="form-group">
<div>
<input class="form-input" type="checkbox" id="persist">
<label class="form-label" for="persist">Оставаться в системе</label>
</div>
</div>
<div class="form-group">
<button type="submit">Войти</button>
</div>
</form>
</div>
{% include "_fragments/footer.html" %}
</div>
{% endblock %}