65 lines
3.2 KiB
HTML
65 lines
3.2 KiB
HTML
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>{% block title %}Содалит{% endblock %}</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="shortcut icon" href="{% static 'liquid/img/logo.png' %}" type="image/x-icon">
|
|
<!-- Metronic CSS -->
|
|
<link href="{% static 'libraries/metronic/plugins/global/plugins.bundle.css' %}" rel="stylesheet" type="text/css"/>
|
|
<link href="{% static 'libraries/metronic/plugins/custom/datatables/datatables.bundle.css' %}" rel="stylesheet" />
|
|
<link href="{% static 'libraries/metronic/css/style.bundle.css' %}" rel="stylesheet" type="text/css"/>
|
|
<link href="{% static 'liquid/css/style.css' %}" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body class="d-flex flex-column min-vh-100 h-100">
|
|
{% block header %}
|
|
<header class="bg-white border-bottom py-4 px-5 d-flex align-items-center justify-content-between">
|
|
<div class="d-flex align-items-center gap-3">
|
|
<img src="{% static 'liquid/img/logo.png' %}" alt="Logo" class="h-46px w-46px" style="width: 46px; height: 46px;">
|
|
<h1 class="fs-4 fw-bold text-gray-600 mb-0">Содалит</h1>
|
|
</div>
|
|
<div>
|
|
<div class="dropdown">
|
|
<button class="btn bg-primary-light text-primary" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
Опции
|
|
<i class="bi bi-caret-down-fill ms-2 text-primary"></i>
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-end min-w-200px p-2 border-primary" style="border-width: 1px;">
|
|
<li>
|
|
<a class="dropdown-item d-flex align-items-center text-dark py-2" style="width: 100%;" href="{% url 'admin:index' %}">
|
|
<img src="{% static 'liquid/img/user.svg' %}" alt="Logo" class="h-24px w-24px me-4" style="width: 24px; height: 24px;">
|
|
Администрирование
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<form id="logout-form" action="{% url 'users:logout' %}" method="post" style="display: none;">
|
|
{% csrf_token %}
|
|
</form>
|
|
<a class="dropdown-item d-flex align-items-center text-dark py-2" href="#" onclick="document.getElementById('logout-form').submit(); return false;">
|
|
<img src="{% static 'liquid/img/logout.svg' %}" alt="Logo" class="h-24px w-24px me-4" style="width: 24px; height: 24px;">
|
|
Выход
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{% endblock %}
|
|
|
|
<main class="flex-grow-1 bg-white h-100 ">
|
|
{% block content %}
|
|
<div class="container-fluid">
|
|
<div class="card">
|
|
<div class="card-body">
|
|
Контент страницы
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
</main>
|
|
|
|
</body>
|
|
</html>
|