Implementata pagina gestione ordini

This commit is contained in:
2026-04-10 11:39:37 +02:00
parent 3ca10395b5
commit 397c899115
2 changed files with 229 additions and 0 deletions
+66
View File
@@ -319,4 +319,70 @@ form button:hover {
.order-details p {
margin: 5px 0;
color: #666;
}
/* Stili per la pagina admin di gestione ordini */
.admin-table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
background-color: #fff;
}
.admin-table th,
.admin-table td {
border: 1px solid #ddd;
padding: 12px;
text-align: left;
}
.admin-table th {
background-color: #f2f2f2;
font-weight: bold;
}
.admin-table tbody tr:hover {
background-color: #f9f9f9;
}
.status-select {
padding: 5px 8px;
border: 1px solid #ddd;
border-radius: 4px;
cursor: pointer;
}
.status-select.status-pending {
background-color: #fff3cd;
color: #212529;
}
.status-select.status-completed {
background-color: #d4edda;
color: #155724;
}
.status-select.status-cancelled {
background-color: #f8d7da;
color: #721c24;
}
.btn-delete {
padding: 5px 10px;
background-color: #dc3545;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 12px;
}
.btn-delete:hover {
background-color: #c82333;
}
.admin-table td form {
display: contents;
margin: 0;
padding: 0;
}