Compare commits

..

No commits in common. "a82d4b75ddc7ae316047927b4bd31a2aeddaabdf" and "402c1af861802366cb7b592cc0c538667915fab2" have entirely different histories.

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: [
'/features/backup/backup-schema.js',
'/features/backup/backup-page.js',
'/shared/js/backup-app-card.js',
'/js/components/backup/backup-schema.js',
'/js/components/backup/backup-page.js',
'/js/components/backup/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="/features/backup/backup.css">
<link rel="stylesheet" href="/css/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('/features/backup/backup-page.js'),
this.loadScript('/shared/js/backup-app-card.js')
this.loadScript('/js/components/backup/backup-page.js'),
this.loadScript('/js/components/backup/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
'/shared/js/backup-app-card.js',
'/js/components/backup/backup-app-card.js',
'/features/apps/services-manager.js',
'/features/apps/tools-manager.js',
'/features/apps/routing-manager.js',