69 lines
2.4 KiB
HTML
69 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}Аптечный склад{% endblock %}</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #FFFFFF;
|
|
}
|
|
.navbar {
|
|
background-color: #E6F2FF !important;
|
|
}
|
|
.btn-primary {
|
|
background-color: #0066CC !important;
|
|
border-color: #0066CC !important;
|
|
}
|
|
.btn-primary:hover {
|
|
background-color: #0052a3 !important;
|
|
}
|
|
.card-header {
|
|
background-color: #E6F2FF !important;
|
|
}
|
|
footer {
|
|
background-color: #E6F2FF;
|
|
padding: 10px 0;
|
|
margin-top: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="/">
|
|
<img src="{{ url_for('static', filename='masterpol.png') }}" alt="Logo" height="40">
|
|
Аптечный склад
|
|
</a>
|
|
<div>
|
|
<a href="/" class="btn btn-outline-primary">Лекарства</a>
|
|
<a href="/manufacturers" class="btn btn-outline-primary">Производители</a>
|
|
<a href="/categories" class="btn btn-outline-primary">Категории</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="container mt-4">
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
{% for category, message in messages %}
|
|
<div class="alert alert-{{ 'danger' if category == 'error' else 'success' }} alert-dismissible">
|
|
{{ message }}
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
<footer class="text-center">
|
|
<p>Аптечный склад © 2026</p>
|
|
</footer>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
</body>
|
|
</html> |