added backup restore settings and updated config #3
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled

This commit is contained in:
wt committed 2025-02-21 12:23:24 +07:00
1 parent 3d66ac7f0f
commit 4b2d425d13
26 files changed
+273 -48

No files matched your search

+7 -3
View File
@@ -197,11 +197,14 @@
<div class="settingrectheader">
<h2>Backup settings</h2>
</div>
<div class="settingrectfooter">
<a href="http://localhost:43244/config/config.json">
<button class="settingrectfooterbutton" id="backup_settings">Backup settings</button>
<div class="settingrectfooter" style="flex-direction: column;">
<a id="backup_settings" class="settingrectfooterbutton" href="" download="backup_settings.json">
<button class="settingrectfooterbutton">Backup settings</button>
</a>
<input type="file" name="" id="restore_settings_input" hidden>
<button class="settingrectfooterbutton" id="restore_settings">Restore settings</button>
<button class="settingrectfooterbutton" id="start_restore_settings">Start restore settings</button>
<button class="settingrectfooterbutton" id="restore_default_settings">Rrestore default settings</button>
</div>
</div>
<!-- backup settings -->
@@ -284,6 +287,7 @@
<script src="js/settings/ftp.js"></script>
<script src="js/settings/ssh.js"></script>
<script src="js/settings/wifi.js"></script>
<script src="js/settings/backup.js"></script>
<script src="js/reboot.js"></script>
<script src="js/syslog.js"></script>