project322/templates/base.html

47 lines
1.8 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="{{ url_for('static', filename='css/style.css') }}">
<style>
@import url('https://fonts.googleapis.com/css2?family=Corbel&display=swap');
body {
font-family: 'Corbel', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
</style>
</head>
<body>
<div class="container">
<header class="header">
<div class="logo">
<h1>🍷 АлкоСклад</h1>
</div>
<nav class="nav-menu">
<a href="{{ url_for('index') }}" class="btn">📋 Заявки</a>
<a href="{{ url_for('products') }}" class="btn">📦 Товары</a>
<a href="{{ url_for('partners') }}" class="btn">🤝 Партнеры</a>
<a href="{{ url_for('categories') }}" class="btn">📊 Категории</a>
<a href="{{ url_for('new_order') }}" class="btn btn-primary">➕ Новая заявка</a>
</nav>
</header>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="alert alert-{{ category }}">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
<main class="content">
{% block content %}{% endblock %}
</main>
<footer class="footer">
<p>🍷 АлкоСклад - Система управления заявками © 2026</p>
</footer>
</div>
</body>
</html>