From 37d0464fa5962f7cc20b5452dcd3da6eb745b7e3 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Fri, 13 Dec 2024 10:06:41 -0700 Subject: [PATCH] add title --- .../nshmp-apps/src/app/dev/dashboard/app.component.html | 6 +++++- projects/nshmp-apps/src/app/dev/dashboard/app.component.ts | 2 ++ .../nshmp-apps/src/app/dev/gmm/dashboard/app.component.html | 6 +++++- .../nshmp-apps/src/app/dev/gmm/dashboard/app.component.ts | 2 ++ .../src/app/dev/hazard/dashboard/app.component.html | 6 +++++- .../src/app/dev/hazard/dashboard/app.component.ts | 2 ++ .../src/app/dev/math/dashboard/app.component.html | 6 +++++- .../nshmp-apps/src/app/dev/math/dashboard/app.component.ts | 2 ++ .../nshmp-apps/src/app/gmm/dashboard/app.component.html | 6 +++++- projects/nshmp-apps/src/app/gmm/dashboard/app.component.ts | 2 ++ .../nshmp-apps/src/app/hazard/dashboard/app.component.html | 6 +++++- .../nshmp-apps/src/app/hazard/dashboard/app.component.ts | 2 ++ .../src/app/internal/dashboard/app.component.html | 6 +++++- .../nshmp-apps/src/app/internal/dashboard/app.component.ts | 2 ++ .../nshmp-apps/src/app/ncm/dashboard/app.component.html | 6 +++++- projects/nshmp-apps/src/app/ncm/dashboard/app.component.ts | 2 ++ .../nshmp-apps/src/app/source/dashboard/app.component.html | 6 +++++- .../nshmp-apps/src/app/source/dashboard/app.component.ts | 2 ++ 18 files changed, 63 insertions(+), 9 deletions(-) diff --git a/projects/nshmp-apps/src/app/dev/dashboard/app.component.html b/projects/nshmp-apps/src/app/dev/dashboard/app.component.html index 19568f897..8c2c6ecff 100644 --- a/projects/nshmp-apps/src/app/dev/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/dev/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList"> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts b/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts index fc22fe0f0..4e6d8365f 100644 --- a/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts @@ -34,6 +34,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = nav.devNavigation(); + title = 'Development Applications'; + /** Main development applications */ private mainApps = nav.devMainApps(); diff --git a/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.html b/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.html index 389a2c0fd..b1cc26d58 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.ts b/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.ts index f7275a6cd..79f6025a2 100644 --- a/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/gmm/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = devNavigation(); + title = 'GMM Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.html b/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.html index 389d2a21b..cd1fb0e48 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.ts b/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.ts index 6c827f6c1..ada40f9e3 100644 --- a/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/hazard/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = devNavigation(); + title = 'Hazard Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.html b/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.html index 56569f555..755f5e99f 100644 --- a/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.ts b/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.ts index 9ecce1d8a..9a1d7e51d 100644 --- a/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/math/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = devNavigation(); + title = 'Math Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/gmm/dashboard/app.component.html b/projects/nshmp-apps/src/app/gmm/dashboard/app.component.html index ee3e46652..8304e735c 100644 --- a/projects/nshmp-apps/src/app/gmm/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/gmm/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/gmm/dashboard/app.component.ts b/projects/nshmp-apps/src/app/gmm/dashboard/app.component.ts index 682b13bdf..f071f9f5a 100644 --- a/projects/nshmp-apps/src/app/gmm/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/gmm/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = navigation(); + title = 'GMM Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/hazard/dashboard/app.component.html b/projects/nshmp-apps/src/app/hazard/dashboard/app.component.html index b20dfdbe0..baf20fa7d 100644 --- a/projects/nshmp-apps/src/app/hazard/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/hazard/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/hazard/dashboard/app.component.ts b/projects/nshmp-apps/src/app/hazard/dashboard/app.component.ts index 4963010c3..466b802f8 100644 --- a/projects/nshmp-apps/src/app/hazard/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/hazard/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = navigation(); + title = 'Hazard Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/internal/dashboard/app.component.html b/projects/nshmp-apps/src/app/internal/dashboard/app.component.html index 2384d26ae..d4913aec9 100644 --- a/projects/nshmp-apps/src/app/internal/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/internal/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList"> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts b/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts index 42fbf6918..d3ce98b92 100644 --- a/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts @@ -36,6 +36,8 @@ export class AppComponent implements OnInit, OnDestroy { /** Navigation list for menu */ navigationList = nav.internalNavigation(); + title = 'Internal Applications'; + /** AWS applications */ private awsApps = nav.internalAwsApps(); diff --git a/projects/nshmp-apps/src/app/ncm/dashboard/app.component.html b/projects/nshmp-apps/src/app/ncm/dashboard/app.component.html index 35b0fc397..4e34e88b8 100644 --- a/projects/nshmp-apps/src/app/ncm/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/ncm/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/ncm/dashboard/app.component.ts b/projects/nshmp-apps/src/app/ncm/dashboard/app.component.ts index 7a677f638..2cd182194 100644 --- a/projects/nshmp-apps/src/app/ncm/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/ncm/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = navigation(); + title = 'NCM Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', diff --git a/projects/nshmp-apps/src/app/source/dashboard/app.component.html b/projects/nshmp-apps/src/app/source/dashboard/app.component.html index a39713d9b..be11ff361 100644 --- a/projects/nshmp-apps/src/app/source/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/source/dashboard/app.component.html @@ -1,4 +1,8 @@ -<nshmp-lib-ng-template #template [navigationList]="navigationList" [title]=""> +<nshmp-lib-ng-template + #template + [navigationList]="navigationList" + [title]="title" +> <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/source/dashboard/app.component.ts b/projects/nshmp-apps/src/app/source/dashboard/app.component.ts index a19b283ac..1f3231e03 100644 --- a/projects/nshmp-apps/src/app/source/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/source/dashboard/app.component.ts @@ -33,6 +33,8 @@ export class AppComponent { /** Navigation list for menu */ navigationList = navigation(); + title = 'Source Model Applications'; + sections: ApplicationSections[] = [ { gridClass: 'grid-col-10', -- GitLab