Merge claude/1

This commit is contained in:
librelad 2026-05-30 02:06:31 +01:00
commit a82d4b75dd
8 changed files with 7 additions and 7 deletions

View File

@ -14,9 +14,9 @@ LP.features.register({
routes: ['/backup', '/backup*'],
// Controllers the feature needs; lazy-loaded on first mount (idempotent).
scripts: [
'/js/components/backup/backup-schema.js',
'/js/components/backup/backup-page.js',
'/js/components/backup/backup-app-card.js',
'/features/backup/backup-schema.js',
'/features/backup/backup-page.js',
'/shared/js/backup-app-card.js',
],
async mount(ctx) {

View File

@ -18,7 +18,7 @@
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/css/ip-whitelist.css">
<link rel="stylesheet" href="/features/apps/port-manager.css">
<link rel="stylesheet" href="/css/backup.css">
<link rel="stylesheet" href="/features/backup/backup.css">
<link rel="stylesheet" href="/css/ssh.css">
<link rel="stylesheet" href="/css/admin.css">
<link rel="stylesheet" href="/features/apps/services.css">

View File

@ -358,8 +358,8 @@ class LibrePortalSPAClean {
// backup-page.js + backup-app-card.js are loaded on first navigation.
// loadScript is idempotent — subsequent /backup navigations are no-ops.
await Promise.all([
this.loadScript('/js/components/backup/backup-page.js'),
this.loadScript('/js/components/backup/backup-app-card.js')
this.loadScript('/features/backup/backup-page.js'),
this.loadScript('/shared/js/backup-app-card.js')
]);
const html = await this.fetchContent('/html/backup-content.html');
this.loadContent(html, 'Backups');

View File

@ -206,7 +206,7 @@ class SystemLoader {
scripts: [
'/features/apps/port-manager.js',
'/shared/task/task-manager.js', // Add TaskManager for backup functionality
'/js/components/backup/backup-app-card.js',
'/shared/js/backup-app-card.js',
'/features/apps/services-manager.js',
'/features/apps/tools-manager.js',
'/features/apps/routing-manager.js',