картинки в одну высоту, добавил вывод времени
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 7s
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 7s
генерации и переменной среды
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -2,5 +2,10 @@
|
||||
<footer class="bg-dark text-white text-center py-4 mt-5">
|
||||
<div class="container">
|
||||
<p>© 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>
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user