fix grafica

This commit is contained in:
Francesco Picone
2025-12-06 17:53:12 +01:00
parent ca1d604701
commit 0be59cc836
18 changed files with 501 additions and 48 deletions

View File

@@ -56,7 +56,14 @@ $users = $stmt->fetchAll();
<header class="header">
<div class="container">
<div class="header-content">
<h1 class="logo">Pilates Studio - Admin</h1>
<?php if (file_exists('../uploads/images/logo.png')): ?>
<div class="logo">
<img src="../uploads/images/logo.png" alt="Pilates Studio" class="logo-image">
<span style="margin-left: 10px; color: var(--primary-color); font-weight: 600;">Admin</span>
</div>
<?php else: ?>
<h1 class="logo">Pilates Studio - Admin</h1>
<?php endif; ?>
<nav class="nav">
<a href="../index.php" class="btn btn-outline">Vedi Sito</a>
<a href="../includes/logout.php" class="btn btn-secondary">Logout</a>
@@ -87,6 +94,7 @@ $users = $stmt->fetchAll();
<p class="text-muted mb-2">Totale utenti registrati: <strong><?php echo count($users); ?></strong></p>
<?php if (!empty($users)): ?>
<div class="table-container">
<table class="table">
<thead>
<tr>
@@ -132,6 +140,7 @@ $users = $stmt->fetchAll();
<?php endforeach; ?>
</tbody>
</table>
</div>
<?php else: ?>
<p class="text-muted text-center">Nessun utente registrato ancora.</p>
<?php endif; ?>