feat(admin): Add global admin functionality: backend admin APIs, model fields and UI integration

This commit is contained in:
2025-12-01 09:44:37 +00:00
parent fd089b2cee
commit af0c24f7ca
15 changed files with 1163 additions and 5 deletions
+10
View File
@@ -149,6 +149,16 @@ export class IdpAccountContent extends DeesElement {
await this.domtools.convenience.smartdelay.delayFor(300);
});
this.subrouter.on('/admin', async () => {
viewcontainer.classList.add('changing');
await this.domtools.convenience.smartdelay.delayFor(300);
console.log('We are viewing the admin page');
await cleanupViews();
viewcontainer.append(new views.AdminView());
viewcontainer.classList.remove('changing');
await this.domtools.convenience.smartdelay.delayFor(300);
});
this.subrouter._handleRouteState();
this.registerGarbageFunction(async () => {