аутентификация к веб админке

This commit is contained in:
vrubelroman 2025-11-23 02:36:15 +03:00
parent 595c9419f4
commit e6967db17d
6 changed files with 282 additions and 2 deletions

View file

@ -282,7 +282,10 @@
<div class="container">
<!-- Левая панель: Пользователи -->
<div class="panel users-panel">
<h1>👥 Пользователи</h1>
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
<h1 style="margin: 0;">👥 Пользователи</h1>
<a href="/logout" style="padding: 8px 16px; background: #8B6F47; color: white; text-decoration: none; border-radius: 8px; font-size: 14px; transition: background 0.3s;" onmouseover="this.style.background='#6B5432'" onmouseout="this.style.background='#8B6F47'">Выход</a>
</div>
<div class="stats">
Всего пользователей: <strong id="total-users">0</strong> (сегодня: <strong id="users-today">0</strong>)<br>