Add admin panel, cart, checkout, and digital key delivery
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>{% block title %}Админка — {{ app_name }}{% endblock %}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Syne:wght@500;700;800&family=Manrope:wght@400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="stylesheet" href="/static/css/style.css" />
|
||||
</head>
|
||||
<body class="admin-body">
|
||||
<div class="admin-shell">
|
||||
<aside class="admin-nav">
|
||||
<a class="brand" href="/admin">{{ app_name }} Admin</a>
|
||||
<a href="/admin">Дашборд</a>
|
||||
<a href="/admin/products">Товары</a>
|
||||
<a href="/admin/orders">Заказы</a>
|
||||
<a href="/" target="_blank">Открыть магазин</a>
|
||||
<form method="post" action="/admin/logout" class="logout-form">
|
||||
<button type="submit" class="btn btn-ghost btn-tiny">Выйти ({{ admin_user }})</button>
|
||||
</form>
|
||||
</aside>
|
||||
<div class="admin-main">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user