implement user authentication, role-based access control, and multi-user instance isolation

This commit is contained in:
CPTN Cosmo 2026-04-18 17:00:13 +02:00
parent 844879d301
commit bb7053b01e
6 changed files with 354 additions and 19 deletions

View file

@ -61,6 +61,44 @@ header {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.main-nav {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--border-color);
padding-bottom: 1rem;
}
.nav-item {
background: transparent;
border: none;
color: var(--text-muted);
font-size: 0.875rem;
font-weight: 600;
cursor: pointer;
padding: 0.5rem 1rem;
border-radius: 6px;
transition: all 0.2s;
}
.nav-item:hover {
color: var(--text-main);
background-color: rgba(255, 255, 255, 0.05);
}
.nav-item.active {
color: var(--primary);
background-color: rgba(59, 130, 246, 0.1);
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
.login-card .logo {
justify-content: center;
margin-bottom: 2rem;
@ -335,3 +373,49 @@ input:focus {
.btn-copy.copied {
color: var(--status-online);
}
.users-list {
margin-top: 2rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
.user-item {
background-color: var(--bg-color);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.user-info h3 {
font-size: 1rem;
margin-bottom: 0.25rem;
}
.user-actions {
display: flex;
gap: 0.5rem;
}
.checkbox-group {
display: flex;
align-items: center;
gap: 0.5rem;
color: var(--text-muted);
font-size: 0.875rem;
}
.checkbox-group input {
width: auto;
}
.success-msg {
color: var(--status-online);
text-align: center;
margin-top: 1rem;
font-size: 0.875rem;
}