feat: console flat navigation, settings (#3581)

* instance routing

* instance naming

* org list

* rm isonsystem

* breadcrumb  type

* routing

* instance members

* fragment refresh org

* settings pages

* settings list, sidenav grouping, i18n

* org-settings, policy changes

* lint

* grid

* rename grid

* fallback to general

* cleanup

* general settings, remove cards

* sidenav for settings, label policy

* i18n

* header, nav backbuild

* general, project nav rehaul

* login text background adapt

* org nav anim

* org, instance settings, fix policy layout, roles

* i18n, active route for project

* lint
This commit is contained in:
Max Peintner
2022-05-09 15:01:36 +02:00
committed by GitHub
parent 94e420bb24
commit 06e3330d2e
188 changed files with 4046 additions and 3639 deletions
@@ -50,11 +50,6 @@ export class UserGrantCreateComponent implements OnDestroy {
breadcrumbService: BreadcrumbService,
) {
breadcrumbService.setBreadcrumb([
new Breadcrumb({
type: BreadcrumbType.IAM,
name: 'IAM',
routerLink: ['/system'],
}),
new Breadcrumb({
type: BreadcrumbType.ORG,
routerLink: ['/org'],
@@ -122,7 +117,7 @@ export class UserGrantCreateComponent implements OnDestroy {
const prom = this.userIds.map((id) => this.userService.addUserGrant(id, this.rolesList, this.project.id));
Promise.all(prom)
.then(() => {
this.toast.showInfo('PROJECT.GRANT.TOAST.PROJECTGRANTADDED', true);
this.toast.showInfo('GRANTS.TOAST.UPDATED', true);
this.close();
})
.catch((error: any) => {
@@ -136,7 +131,7 @@ export class UserGrantCreateComponent implements OnDestroy {
);
Promise.all(promp)
.then(() => {
this.toast.showInfo('PROJECT.GRANT.TOAST.PROJECTGRANTUSERGRANTADDED', true);
this.toast.showInfo('GRANTS.TOAST.UPDATED', true);
this.close();
})
.catch((error: any) => {
@@ -156,7 +151,7 @@ export class UserGrantCreateComponent implements OnDestroy {
);
Promise.all(promu)
.then(() => {
this.toast.showInfo('PROJECT.GRANT.TOAST.PROJECTGRANTUSERGRANTADDED', true);
this.toast.showInfo('GRANTS.TOAST.UPDATED', true);
this.close();
})
.catch((error: any) => {
@@ -181,7 +176,7 @@ export class UserGrantCreateComponent implements OnDestroy {
);
Promise.all(promn)
.then(() => {
this.toast.showInfo('PROJECT.GRANT.TOAST.PROJECTGRANTUSERGRANTADDED', true);
this.toast.showInfo('GRANTS.TOAST.UPDATED', true);
this.close();
})
.catch((error: any) => {