Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-apps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ghsc
National Seismic Hazard Model Project
nshmp-apps
Commits
04923c6c
Commit
04923c6c
authored
4 months ago
by
Clayton, Brandon Scott
Browse files
Options
Downloads
Patches
Plain Diff
add ncm and design map apps
parent
88ccdec0
No related branches found
No related tags found
1 merge request
!531
Dashboard
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/nshmp-apps/src/app/dashboard/app.component.html
+35
-0
35 additions, 0 deletions
projects/nshmp-apps/src/app/dashboard/app.component.html
projects/nshmp-apps/src/app/dashboard/app.component.ts
+6
-0
6 additions, 0 deletions
projects/nshmp-apps/src/app/dashboard/app.component.ts
with
41 additions
and
0 deletions
projects/nshmp-apps/src/app/dashboard/app.component.html
+
35
−
0
View file @
04923c6c
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
</div>
</div>
<div
class=
"grid-col-12 tablet-lg:grid-col-10 tablet-lg:grid-offset-1"
>
<div
class=
"grid-col-12 tablet-lg:grid-col-10 tablet-lg:grid-offset-1"
>
<!-- Main apps -->
<div
class=
"app-section"
>
<div
class=
"app-section"
>
@for (app of mainApps; track app) {
@for (app of mainApps; track app) {
<div
class=
"grid-col-12"
>
<div
class=
"grid-col-12"
>
...
@@ -36,11 +37,28 @@
...
@@ -36,11 +37,28 @@
</div>
</div>
}
}
</div>
</div>
<!-- Design maps -->
<div
class=
"app-section padding-top-6"
>
<div
class=
"app-section--title"
>
Design Maps
</div>
@for (app of designMapApps; track app) {
<div
class=
"grid-col-12"
>
<mat-card
[routerLink]=
"app.routerLink"
class=
"dashboard-mat-card pointer"
(click)=
"template.onRoute(app)"
>
<mat-card-content>
{{ app.display }}
</mat-card-content>
</mat-card>
</div>
}
</div>
</div>
</div>
</div>
</div>
<div
class=
"grid-col-12 tablet-lg:grid-col-6 center-y"
>
<div
class=
"grid-col-12 tablet-lg:grid-col-6 center-y"
>
<div
class=
"grid-col-12 tablet-lg:grid-col-10 tablet-lg:grid-offset-1"
>
<div
class=
"grid-col-12 tablet-lg:grid-col-10 tablet-lg:grid-offset-1"
>
<!-- Source models -->
<div
class=
"app-section"
>
<div
class=
"app-section"
>
<div
class=
"app-section--title"
>
Source Models
</div>
<div
class=
"app-section--title"
>
Source Models
</div>
@for (app of sourceModelApps; track app) {
@for (app of sourceModelApps; track app) {
...
@@ -56,6 +74,7 @@
...
@@ -56,6 +74,7 @@
}
}
</div>
</div>
<!-- GMMs -->
<div
class=
"app-section"
>
<div
class=
"app-section"
>
<div
class=
"app-section--title"
>
Ground Motion Models
</div>
<div
class=
"app-section--title"
>
Ground Motion Models
</div>
@for (app of gmmApps; track app) {
@for (app of gmmApps; track app) {
...
@@ -70,6 +89,22 @@
...
@@ -70,6 +89,22 @@
</div>
</div>
}
}
</div>
</div>
<!-- NCM apps -->
<div
class=
"app-section"
>
<div
class=
"app-section--title"
>
National Crustal Model
</div>
@for (app of ncmApps; track app) {
<div
class=
"grid-col-12"
>
<mat-card
[routerLink]=
"app.routerLink"
class=
"dashboard-mat-card pointer"
(click)=
"template.onRoute(app)"
>
<mat-card-content>
{{ app.display }}
</mat-card-content>
</mat-card>
</div>
}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
projects/nshmp-apps/src/app/dashboard/app.component.ts
+
6
−
0
View file @
04923c6c
...
@@ -5,9 +5,11 @@ import {NshmpLibNgAboutPageComponent} from '@ghsc/nshmp-lib-ng/about';
...
@@ -5,9 +5,11 @@ import {NshmpLibNgAboutPageComponent} from '@ghsc/nshmp-lib-ng/about';
import
{
NshmpLibNgTemplateComponent
}
from
'
@ghsc/nshmp-lib-ng/nshmp
'
;
import
{
NshmpLibNgTemplateComponent
}
from
'
@ghsc/nshmp-lib-ng/nshmp
'
;
import
{
import
{
designMapApps
,
gmmApps
,
gmmApps
,
mainApps
,
mainApps
,
navigation
,
navigation
,
ncmApps
,
sourceModelApps
,
sourceModelApps
,
}
from
'
../../shared/utils/navigation.utils
'
;
}
from
'
../../shared/utils/navigation.utils
'
;
import
{
AboutComponent
}
from
'
./components/about/about.component
'
;
import
{
AboutComponent
}
from
'
./components/about/about.component
'
;
...
@@ -35,10 +37,14 @@ export class AppComponent {
...
@@ -35,10 +37,14 @@ export class AppComponent {
/** Navigation list for menu */
/** Navigation list for menu */
navigationList
=
navigation
();
navigationList
=
navigation
();
/** Design map apps */
designMapApps
=
designMapApps
();
/** The GMM applications */
/** The GMM applications */
gmmApps
=
gmmApps
();
gmmApps
=
gmmApps
();
/** The main applications */
/** The main applications */
mainApps
=
mainApps
();
mainApps
=
mainApps
();
/** NCM apps */
ncmApps
=
ncmApps
();
/** Source model applications */
/** Source model applications */
sourceModelApps
=
sourceModelApps
();
sourceModelApps
=
sourceModelApps
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment