APmanageur Wi-Fi V1.0
This commit is contained in:
1 parent
441c0db0c2
commit
7d04d142e4
2 files changed
+226
-10
No files matched your search
+118
-9
@@ -577,13 +577,122 @@
|
|||||||
border-color: var(--blue);
|
border-color: var(--blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Windows 11 Fluent Design Toggle Switch pour les checkboxes */
|
||||||
|
input[type="checkbox"] {
|
||||||
|
appearance: none !important;
|
||||||
|
-webkit-appearance: none !important;
|
||||||
|
position: relative !important;
|
||||||
|
display: inline-block !important;
|
||||||
|
width: 40px !important;
|
||||||
|
height: 20px !important;
|
||||||
|
min-width: 40px !important;
|
||||||
|
max-width: 40px !important;
|
||||||
|
border-radius: 9999px !important;
|
||||||
|
background-color: rgba(255, 255, 255, 0.08) !important;
|
||||||
|
border: 1px solid var(--line, rgba(255, 255, 255, 0.35)) !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
outline: none !important;
|
||||||
|
vertical-align: middle !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
flex-shrink: 0 !important;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]::before {
|
||||||
|
content: "" !important;
|
||||||
|
position: absolute !important;
|
||||||
|
top: 3px !important;
|
||||||
|
left: 3px !important;
|
||||||
|
width: 12px !important;
|
||||||
|
height: 12px !important;
|
||||||
|
border-radius: 50% !important;
|
||||||
|
background-color: var(--muted, #9aa8c5) !important;
|
||||||
|
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1),
|
||||||
|
width 0.15s ease,
|
||||||
|
background-color 0.2s ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover état désactivé */
|
||||||
|
input[type="checkbox"]:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.14) !important;
|
||||||
|
border-color: rgba(255, 255, 255, 0.55) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:hover::before {
|
||||||
|
background-color: var(--text, #ffffff) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clic maintenu (effet d'étirement Fluent Win11) */
|
||||||
|
input[type="checkbox"]:active::before {
|
||||||
|
width: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* État Activé (Checked) */
|
||||||
|
input[type="checkbox"]:checked {
|
||||||
|
background-color: var(--blue, #38bdf8) !important;
|
||||||
|
border-color: var(--blue, #38bdf8) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked::before {
|
||||||
|
transform: translateX(20px) !important;
|
||||||
|
background-color: #000000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked:hover {
|
||||||
|
filter: brightness(1.08) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked:active::before {
|
||||||
|
transform: translateX(17px) !important;
|
||||||
|
width: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus navigation clavier */
|
||||||
|
input[type="checkbox"]:focus-visible {
|
||||||
|
box-shadow: 0 0 0 2px var(--bg, #071326), 0 0 0 4px var(--blue, #38bdf8) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Disabled */
|
||||||
|
input[type="checkbox"]:disabled {
|
||||||
|
opacity: 0.4 !important;
|
||||||
|
cursor: not-allowed !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adaptation thème clair */
|
||||||
|
html[data-theme="light"] input[type="checkbox"] {
|
||||||
|
background-color: rgba(0, 0, 0, 0.06) !important;
|
||||||
|
border-color: rgba(0, 0, 0, 0.28) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]::before {
|
||||||
|
background-color: #5c5c5c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:hover {
|
||||||
|
background-color: rgba(0, 0, 0, 0.1) !important;
|
||||||
|
border-color: rgba(0, 0, 0, 0.45) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:checked {
|
||||||
|
background-color: var(--blue, #0066da) !important;
|
||||||
|
border-color: var(--blue, #0066da) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:checked::before {
|
||||||
|
background-color: #ffffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.check {
|
.check {
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 10px;
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 14px
|
font-size: 14px;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
@@ -4813,9 +4922,9 @@
|
|||||||
Planifiez des sauvegardes automatiques enregistrées dans le dossier configuré via Docker Compose.
|
Planifiez des sauvegardes automatiques enregistrées dans le dossier configuré via Docker Compose.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<label style="display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;user-select:none">
|
<label style="display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:600;user-select:none">
|
||||||
<input type="checkbox" id="backupCronEnabled" style="width:auto;margin:0" onchange="onBackupCronToggle()">
|
|
||||||
<span data-i18n="backup_cron_enable">Activer la planification</span>
|
<span data-i18n="backup_cron_enable">Activer la planification</span>
|
||||||
|
<input type="checkbox" id="backupCronEnabled" onchange="onBackupCronToggle()">
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -4882,9 +4991,9 @@
|
|||||||
Exportez automatiquement ou manuellement vos sauvegardes vers un serveur FTP/SFTP, Google Drive, Dropbox, WebDAV (Nextcloud/NAS), S3/MinIO ou Webhook.
|
Exportez automatiquement ou manuellement vos sauvegardes vers un serveur FTP/SFTP, Google Drive, Dropbox, WebDAV (Nextcloud/NAS), S3/MinIO ou Webhook.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<label style="display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;user-select:none">
|
<label style="display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-weight:600;user-select:none">
|
||||||
<input type="checkbox" id="backupRemoteEnabled" style="width:auto;margin:0" onchange="onBackupRemoteProviderChange()">
|
|
||||||
<span data-i18n="backup_remote_enable">Activer le stockage distant</span>
|
<span data-i18n="backup_remote_enable">Activer le stockage distant</span>
|
||||||
|
<input type="checkbox" id="backupRemoteEnabled" onchange="onBackupRemoteProviderChange()">
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -4921,8 +5030,8 @@
|
|||||||
|
|
||||||
<input type="hidden" id="backupRemoteProvider" value="ftp">
|
<input type="hidden" id="backupRemoteProvider" value="ftp">
|
||||||
<div style="margin-top:6px;margin-bottom:6px">
|
<div style="margin-top:6px;margin-bottom:6px">
|
||||||
<label style="display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;padding:4px 0;user-select:none">
|
<label style="display:inline-flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;padding:4px 0;user-select:none">
|
||||||
<input type="checkbox" id="backupRemoteAutoUpload" checked style="width:auto;margin:0">
|
<input type="checkbox" id="backupRemoteAutoUpload" checked>
|
||||||
<span data-i18n="backup_remote_autoupload">Transférer automatiquement à chaque sauvegarde (Cron & manuelle)</span>
|
<span data-i18n="backup_remote_autoupload">Transférer automatiquement à chaque sauvegarde (Cron & manuelle)</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+108
-1
@@ -632,13 +632,120 @@
|
|||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.check input[type="checkbox"],
|
|
||||||
.check input[type="radio"] {
|
.check input[type="radio"] {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Windows 11 Fluent Design Toggle Switch pour les checkboxes */
|
||||||
|
input[type="checkbox"] {
|
||||||
|
appearance: none !important;
|
||||||
|
-webkit-appearance: none !important;
|
||||||
|
position: relative !important;
|
||||||
|
display: inline-block !important;
|
||||||
|
width: 40px !important;
|
||||||
|
height: 20px !important;
|
||||||
|
min-width: 40px !important;
|
||||||
|
max-width: 40px !important;
|
||||||
|
border-radius: 9999px !important;
|
||||||
|
background-color: rgba(255, 255, 255, 0.08) !important;
|
||||||
|
border: 1px solid var(--line, rgba(255, 255, 255, 0.35)) !important;
|
||||||
|
cursor: pointer !important;
|
||||||
|
outline: none !important;
|
||||||
|
vertical-align: middle !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
flex-shrink: 0 !important;
|
||||||
|
box-sizing: border-box !important;
|
||||||
|
transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
|
||||||
|
box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]::before {
|
||||||
|
content: "" !important;
|
||||||
|
position: absolute !important;
|
||||||
|
top: 3px !important;
|
||||||
|
left: 3px !important;
|
||||||
|
width: 12px !important;
|
||||||
|
height: 12px !important;
|
||||||
|
border-radius: 50% !important;
|
||||||
|
background-color: var(--muted, #9aa8c5) !important;
|
||||||
|
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1),
|
||||||
|
width 0.15s ease,
|
||||||
|
background-color 0.2s ease !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Hover état désactivé */
|
||||||
|
input[type="checkbox"]:hover {
|
||||||
|
background-color: rgba(255, 255, 255, 0.14) !important;
|
||||||
|
border-color: rgba(255, 255, 255, 0.55) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:hover::before {
|
||||||
|
background-color: var(--text, #ffffff) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clic maintenu (effet d'étirement Fluent Win11) */
|
||||||
|
input[type="checkbox"]:active::before {
|
||||||
|
width: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* État Activé (Checked) */
|
||||||
|
input[type="checkbox"]:checked {
|
||||||
|
background-color: var(--blue, #38bdf8) !important;
|
||||||
|
border-color: var(--blue, #38bdf8) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked::before {
|
||||||
|
transform: translateX(20px) !important;
|
||||||
|
background-color: #000000 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked:hover {
|
||||||
|
filter: brightness(1.08) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="checkbox"]:checked:active::before {
|
||||||
|
transform: translateX(17px) !important;
|
||||||
|
width: 15px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Focus navigation clavier */
|
||||||
|
input[type="checkbox"]:focus-visible {
|
||||||
|
box-shadow: 0 0 0 2px var(--bg, #071326), 0 0 0 4px var(--blue, #38bdf8) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Disabled */
|
||||||
|
input[type="checkbox"]:disabled {
|
||||||
|
opacity: 0.4 !important;
|
||||||
|
cursor: not-allowed !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Adaptation thème clair */
|
||||||
|
html[data-theme="light"] input[type="checkbox"] {
|
||||||
|
background-color: rgba(0, 0, 0, 0.06) !important;
|
||||||
|
border-color: rgba(0, 0, 0, 0.28) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]::before {
|
||||||
|
background-color: #5c5c5c !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:hover {
|
||||||
|
background-color: rgba(0, 0, 0, 0.1) !important;
|
||||||
|
border-color: rgba(0, 0, 0, 0.45) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:checked {
|
||||||
|
background-color: var(--blue, #0066da) !important;
|
||||||
|
border-color: var(--blue, #0066da) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="light"] input[type="checkbox"]:checked::before {
|
||||||
|
background-color: #ffffff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.settings-nav {
|
.settings-nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|||||||
Reference in new issue
Block a user