Files
esercizi-web/javascript/08_DOM+/02_tabella_utenti/index.html
2026-02-12 18:36:35 +01:00

50 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="it">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gestione Utenti</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<a href="../index.html" style="position: absolute; top: 20px; left: 20px; text-decoration: none; color: #555; font-weight: bold; font-size: 14px;">← Dashboard</a>
<div class="container">
<form id="profile-form" class="profile-form">
<h1>Aggiungi un Utente</h1>
<div class="form-group">
<label for="nome">Nome Completo:</label>
<input type="text" id="nome" placeholder="Es. Marco Rossi" required>
</div>
<div class="form-group">
<label for="eta">Età:</label>
<input type="number" id="eta" placeholder="Es. 25" min="1" max="120" required>
</div>
<div class="form-group">
<label for="professione">Professione:</label>
<input type="text" id="professione" placeholder="Es. Sviluppatore" required>
</div>
<button type="button" id="btn-crea-card" class="btn-primary">+ Aggiungi Utente</button>
</form>
<div class="table-wrapper">
<h2>Utenti Registrati</h2>
<table id="users-table" class="users-table">
<thead>
<tr>
<th>Nome</th>
<th>Età</th>
<th>Professione</th>
<th>Azioni</th>
</tr>
</thead>
<tbody id="tbody">
<!-- Le righe verranno inserite qui -->
</tbody>
</table>
</div>
</div>
<script src="script.js"></script>
</body>
</html>