Routers form working properly and listing

This commit is contained in:
litoral05
2026-05-05 17:46:29 +01:00
parent abaa40790c
commit 20a0dbe794
3 changed files with 242 additions and 7 deletions
+93
View File
@@ -199,4 +199,97 @@ th {
.badge.removed {
color: #6b7280;
background: #f3f4f6;
}
.error-banner {
background: #fee2e2;
color: #991b1b;
padding: 12px 16px;
border-radius: 12px;
margin-bottom: 18px;
font-weight: 700;
}
.modal-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.45);
display: grid;
place-items: center;
z-index: 50;
}
.modal {
width: 520px;
background: white;
border-radius: 20px;
padding: 24px;
box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.modal-header {
display: flex;
justify-content: space-between;
gap: 16px;
margin-bottom: 22px;
}
.modal-header h2 {
margin: 0;
}
.modal-header p {
margin: 4px 0 0;
color: #6b7280;
}
.icon-button {
border: 0;
background: #f3f4f6;
border-radius: 10px;
width: 36px;
height: 36px;
display: grid;
place-items: center;
cursor: pointer;
}
.router-form {
display: grid;
gap: 16px;
}
.router-form label {
display: grid;
gap: 7px;
font-size: 14px;
font-weight: 700;
}
.router-form input {
height: 42px;
border: 1px solid #d1d5db;
border-radius: 10px;
padding: 0 12px;
font: inherit;
}
.modal-actions {
display: flex;
justify-content: flex-end;
gap: 12px;
margin-top: 8px;
}
.secondary {
border: 0;
border-radius: 12px;
padding: 12px 18px;
background: #f3f4f6;
cursor: pointer;
}
.primary:disabled {
opacity: 0.6;
cursor: not-allowed;
}