картинки в одну высоту, добавил вывод времени
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 7s

генерации и переменной среды
This commit is contained in:
ack_ik
2026-01-26 15:08:24 +03:00
parent 06e714f9f5
commit 6e1a3ca818
7 changed files with 101 additions and 6 deletions

View File

@@ -7,6 +7,14 @@
<title>{% block title %}Мой проект{% endblock %}</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Uniform product image size */
.product-img {
width: 100%;
height: 200px;
object-fit: cover;
}
</style>
{% block extra_css %}{% endblock %}
</head>
<body>

View File

@@ -2,5 +2,10 @@
<footer class="bg-dark text-white text-center py-4 mt-5">
<div class="container">
<p>&copy; 2023 Мой проект. Все права защищены.</p>
<p class="small mb-0">
ENV: {{ env_type|default:"unknown" }}
| Page generated in {{ total_time|default:"-"|floatformat:3 }}s
(DB: {{ db_time|default:"-"|floatformat:3 }}s)
</p>
</div>
</footer>

View File

@@ -15,6 +15,9 @@
</li>
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="/admin">Админка</a>
</li>
{% if user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="#">Выход</a>