feat: add model groups dashboard page with CRUD UI
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

This commit is contained in:
2026-05-05 10:55:25 -04:00
parent f04cb6b8f2
commit 37949e560b
3 changed files with 180 additions and 1 deletions
+6
View File
@@ -119,6 +119,7 @@ class Dashboard {
'settings': 'Settings',
'logs': 'Logs',
'models': 'Models',
'model-groups': 'Model Groups',
'users': 'User Management'
};
if (titleElement) titleElement.textContent = titles[page] || 'Dashboard';
@@ -130,6 +131,11 @@ class Dashboard {
if (content) {
content.innerHTML = await this.getPageTemplate(page);
await this.initializePageScript(page);
// Model Groups page uses its own render method
if (page === 'model-groups' && typeof modelGroupsPage !== 'undefined') {
await modelGroupsPage.render();
}
}
} catch (error) {
console.error(`Error loading page ${page}:`, error);