feat: MVP-скелет площадки (Django + MySQL/SQLite, модели по ТЗ §4, базовые страницы)

This commit is contained in:
apuc committed 2026-09-23 16:47:57 +03:00
1 parent e5f312a00f
commit 8218a568ce
67 files changed
+1929

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
{% load static %}
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Создано молодыми{% endblock %}</title>
<link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>
<body>
<header class="site-header">
<div class="container header-inner">
<a class="logo" href="{% url 'catalog:home' %}">Создано&nbsp;молодыми</a>
<nav class="nav">
<a href="{% url 'catalog:catalog' %}">Каталог</a>
{% if user.is_authenticated %}
<span class="nav-user">{{ user.full_name|default:user.username }}</span>
<a href="{% url 'admin:index' %}">Админка</a>
{% else %}
<a href="{% url 'admin:login' %}">Войти</a>
{% endif %}
</nav>
</div>
</header>
<main class="container">
{% block content %}{% endblock %}
</main>
<footer class="site-footer">
<div class="container">© 2026 «Создано молодыми»</div>
</footer>
<script src="{% static 'js/main.js' %}"></script>
</body>
</html>