APmanageur Wi-Fi V1.0
This commit is contained in:
1 parent
aa0f3f4856
commit
441c0db0c2
1 file changed
+20
-15
+20
-15
@@ -553,7 +553,9 @@
|
|||||||
input[type="text"],
|
input[type="text"],
|
||||||
input[type="password"],
|
input[type="password"],
|
||||||
input[type="number"],
|
input[type="number"],
|
||||||
select {
|
input[type="url"],
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 10px 12px;
|
padding: 10px 12px;
|
||||||
background: var(--panel2);
|
background: var(--panel2);
|
||||||
@@ -561,7 +563,18 @@
|
|||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
font-size: 14px
|
font-size: 14px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"]:focus,
|
||||||
|
input[type="password"]:focus,
|
||||||
|
input[type="number"]:focus,
|
||||||
|
input[type="url"]:focus,
|
||||||
|
select:focus,
|
||||||
|
textarea:focus {
|
||||||
|
outline: none;
|
||||||
|
border-color: var(--blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
.check {
|
.check {
|
||||||
@@ -4906,17 +4919,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div style="display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;align-items:center">
|
<input type="hidden" id="backupRemoteProvider" value="ftp">
|
||||||
<select id="backupRemoteProvider" onchange="onBackupRemoteProviderChange()" style="margin-bottom:0">
|
<div style="margin-top:6px;margin-bottom:6px">
|
||||||
<option value="ftp">📡 Serveur FTP / FTPS</option>
|
<label style="display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;padding:4px 0;user-select:none">
|
||||||
<option value="sftp">🔐 Serveur SFTP (SSH)</option>
|
|
||||||
<option value="gdrive">☁️ Google Drive (API v3)</option>
|
|
||||||
<option value="dropbox">📦 Dropbox (API v2)</option>
|
|
||||||
<option value="webdav">🌐 WebDAV (Nextcloud / ownCloud / NAS)</option>
|
|
||||||
<option value="s3">🪣 S3 / MinIO / Compatible S3</option>
|
|
||||||
<option value="webhook">🔗 Webhook HTTP (POST / PUT)</option>
|
|
||||||
</select>
|
|
||||||
<label style="display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;padding:8px 0;user-select:none">
|
|
||||||
<input type="checkbox" id="backupRemoteAutoUpload" checked style="width:auto;margin:0">
|
<input type="checkbox" id="backupRemoteAutoUpload" checked style="width:auto;margin:0">
|
||||||
<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>
|
||||||
@@ -4956,7 +4961,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label class="label" for="remoteSftpKey" data-i18n="backup_remote_ssh_key">Clé privée SSH (facultative — format PEM / OpenSSH)</label>
|
<label class="label" for="remoteSftpKey" data-i18n="backup_remote_ssh_key">Clé privée SSH (facultative — format PEM / OpenSSH)</label>
|
||||||
<textarea id="remoteSftpKey" rows="3" placeholder="-----BEGIN OPENSSH PRIVATE KEY-----" style="font-family:monospace;font-size:11px"></textarea>
|
<textarea id="remoteSftpKey" rows="3" placeholder="-----BEGIN OPENSSH PRIVATE KEY-----" style="width:100%;margin-top:6px;padding:10px 12px;background:var(--panel2);border:1px solid var(--line);border-radius:8px;color:var(--text);font-family:monospace;font-size:12px;resize:vertical;box-sizing:border-box"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -5025,7 +5030,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label class="label" for="remoteWebhookHeaders" data-i18n="backup_remote_headers">En-têtes HTTP personnalisés (1 par ligne : Clé: Valeur)</label>
|
<label class="label" for="remoteWebhookHeaders" data-i18n="backup_remote_headers">En-têtes HTTP personnalisés (1 par ligne : Clé: Valeur)</label>
|
||||||
<textarea id="remoteWebhookHeaders" rows="2" placeholder="Authorization: Bearer mon_token" style="font-family:monospace;font-size:12px"></textarea>
|
<textarea id="remoteWebhookHeaders" rows="2" placeholder="Authorization: Bearer mon_token" style="width:100%;margin-top:6px;padding:10px 12px;background:var(--panel2);border:1px solid var(--line);border-radius:8px;color:var(--text);font-family:monospace;font-size:12px;resize:vertical;box-sizing:border-box"></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user