feat: регистрация продавца (FR-01) + палитра B (зелёный/янтарь)
This commit is contained in:
1 parent
43ac518fc2
commit
c681c724a5
12 files changed
+335
-8
No files matched your search
@@ -0,0 +1,19 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Регистрация продавца{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Регистрация продавца</h1>
|
||||
<p class="step-indicator">Шаг {{ step }} из {{ total_steps }}</p>
|
||||
|
||||
<form method="post" enctype="multipart/form-data" class="reg-form">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<div class="reg-actions">
|
||||
{% if step > 1 %}
|
||||
<a class="btn btn-ghost" href="?step={{ step|add:"-1" }}">Назад</a>
|
||||
{% endif %}
|
||||
<button class="btn" type="submit">
|
||||
{% if step == total_steps %}Отправить на модерацию{% else %}Далее{% endif %}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
@@ -0,0 +1,8 @@
|
||||
{% extends 'base.html' %}
|
||||
{% block title %}Заявка отправлена{% endblock %}
|
||||
{% block content %}
|
||||
<h1>Заявка отправлена</h1>
|
||||
<p>Ваша заявка на участие принята и находится на проверке модератором.
|
||||
Статус можно отслеживать в личном кабинете.</p>
|
||||
<a class="btn" href="{% url 'catalog:home' %}">На главную</a>
|
||||
{% endblock %}
|
||||
@@ -13,6 +13,7 @@
|
||||
<a class="logo" href="{% url 'catalog:home' %}">Создано молодыми</a>
|
||||
<nav class="nav">
|
||||
<a href="{% url 'catalog:catalog' %}">Каталог</a>
|
||||
<a href="{% url 'accounts:seller_register' %}">Стать продавцом</a>
|
||||
{% if user.is_authenticated %}
|
||||
<span class="nav-user">{{ user.full_name|default:user.username }}</span>
|
||||
<a href="{% url 'admin:index' %}">Админка</a>
|
||||
|
||||
Reference in new issue
Block a user