Add complete device and kiosk backup

This commit is contained in:
Mikei386
2026-07-22 11:58:58 +02:00
parent 890a47a272
commit 22444ff5bd
13 changed files with 767 additions and 18 deletions
+7
View File
@@ -5,6 +5,7 @@ import { CONFIG, saveConfig, loadConfig, applyAlignmentProfile, applyRtaBpoSelec
import { clamp, clampPow2 } from '../core/utils.js';
import { bindOptionsViewportAssist } from './options_viewport.js';
import { setupLazyChangelog } from './changelog.js';
import { setupDeviceBackup } from './device_backup.js';
// DOM helper
const E = (id) => document.getElementById(id);
@@ -90,6 +91,12 @@ export function setupOptions(env) {
wireHandlers(env);
bindOptionsViewportAssist(E('optionsPanelNew'));
setupLazyChangelog(E('changelogDetails'), E('changelogContent'));
setupDeviceBackup({
exportButton: E('btnDeviceBackupExport'),
importInput: E('impDeviceBackup'),
status: E('deviceBackupStatus'),
resolveApiBaseUrl: resolvePhoenixApiBaseUrl,
});
bindAlignmentToggle(env);
bindVuRefToggle(env);
// Sichtbarkeit nach View steuern übernimmt main.js — hier nur Export der Sync-Funktion