Тест без кодекаса

This commit is contained in:
2026-03-20 17:03:08 +07:00
parent 430c7f456e
commit 3597b4106c
5 changed files with 156 additions and 2 deletions

View File

@@ -330,7 +330,11 @@ SELECT * FROM users LIMIT 10;"></textarea>
<h3 class="text-2xl font-bold text-slate-800">Backups</h3>
<p class="text-sm text-slate-500 mt-1">Archives contain the SQL dump and, if enabled, the application snapshot.</p>
</div>
<button onclick="app.createBackup()" class="px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg">Create archive</button>
<div class="flex items-center gap-2">
<button onclick="app.createBackup()" class="px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white rounded-lg">Create archive</button>
<button onclick="document.getElementById('backupFileInput').click()" class="px-4 py-2 bg-amber-600 hover:bg-amber-700 text-white rounded-lg">Upload archive</button>
<input id="backupFileInput" type="file" accept=".tar.gz" style="display: none;" onchange="app.uploadBackup()">
</div>
</div>
<label class="flex items-center gap-2 text-sm text-slate-700">
<input type="checkbox" id="managementRestoreAppSnapshot" class="w-4 h-4" checked>