Add System Settings. Enable/Disable User registration.

This commit is contained in:
Jens Luedicke
2025-06-28 11:30:34 +02:00
parent ff80964956
commit e7593dc840
6 changed files with 201 additions and 7 deletions

View File

@@ -522,4 +522,78 @@ input[type="time"]::-webkit-datetime-edit {
.status-blocked {
background-color: #f8d7da;
color: #721c24;
}
.settings-card {
background-color: #f8f9fa;
border-radius: 5px;
padding: 20px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.setting-description {
color: #6c757d;
font-size: 0.9em;
margin-top: 5px;
}
.checkbox-container {
display: block;
position: relative;
padding-left: 35px;
margin-bottom: 12px;
cursor: pointer;
font-size: 16px;
user-select: none;
}
.checkbox-container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
.checkmark {
position: absolute;
top: 0;
left: 0;
height: 25px;
width: 25px;
background-color: #eee;
border-radius: 4px;
}
.checkbox-container:hover input ~ .checkmark {
background-color: #ccc;
}
.checkbox-container input:checked ~ .checkmark {
background-color: #2196F3;
}
.checkmark:after {
content: "";
position: absolute;
display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
display: block;
}
.checkbox-container .checkmark:after {
left: 9px;
top: 5px;
width: 5px;
height: 10px;
border: solid white;
border-width: 0 3px 3px 0;
transform: rotate(45deg);
}
.form-actions {
margin-top: 20px;
}