diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f255d93..64586a5 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -52,6 +52,7 @@ import {WorkflowSpecCardComponent} from './workflow-spec-card/workflow-spec-card import {WorkflowSpecListComponent} from './workflow-spec-list/workflow-spec-list.component'; import {MatSidenavModule} from '@angular/material/sidenav'; import { ConfirmDialogComponent } from './_dialogs/confirm-dialog/confirm-dialog.component'; +import {MatExpansionModule} from '@angular/material/expansion'; @Injectable() export class ThisEnvironment implements AppEnvironment { @@ -103,34 +104,35 @@ export function getBaseHref(platformLocation: PlatformLocation): string { ReferenceFilesComponent, ConfirmDialogComponent, ], - imports: [ - BrowserAnimationsModule, - BrowserModule, - FlexLayoutModule, - FormlyModule, - FormsModule, - HttpClientModule, - MatBottomSheetModule, - MatButtonModule, - MatCardModule, - MatDialogModule, - MatDividerModule, - MatIconModule, - MatInputModule, - MatListModule, - MatMenuModule, - MatSnackBarModule, - MatTabsModule, - MatToolbarModule, - MatTooltipModule, - ReactiveFormsModule, - SartographyFormsModule, - SartographyPipesModule, - SartographyWorkflowLibModule, - AppRoutingModule, - MatSidenavModule, - // <-- This line MUST be last (https://angular.io/guide/router#module-import-order-matters) - ], + imports: [ + BrowserAnimationsModule, + BrowserModule, + FlexLayoutModule, + FormlyModule, + FormsModule, + HttpClientModule, + MatBottomSheetModule, + MatButtonModule, + MatCardModule, + MatDialogModule, + MatDividerModule, + MatIconModule, + MatInputModule, + MatListModule, + MatMenuModule, + MatSnackBarModule, + MatTabsModule, + MatToolbarModule, + MatTooltipModule, + ReactiveFormsModule, + SartographyFormsModule, + SartographyPipesModule, + SartographyWorkflowLibModule, + AppRoutingModule, + MatSidenavModule, + MatExpansionModule, + // <-- This line MUST be last (https://angular.io/guide/router#module-import-order-matters) + ], bootstrap: [AppComponent], entryComponents: [ DeleteFileDialogComponent, diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.html b/src/app/workflow-spec-list/workflow-spec-list.component.html index 7b05945..75cd6f9 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.html +++ b/src/app/workflow-spec-list/workflow-spec-list.component.html @@ -27,13 +27,52 @@ + +
-
-

{{cat.display_name}} ({{cat.name}})

-
+ + + + {{cat.display_name}} + + + ({{cat.name}}) + + + + + {{wfs.display_name}} + + + + + + + + +
No workflow specs in this category
+ @@ -59,41 +98,13 @@ (click)="confirmDeleteWorkflowSpecCategory(cat)"> delete -
-
- - - {{wfs.display_name}} - - - - - - - + + -
No workflow specs in this category
+
diff --git a/src/app/workflow-spec-list/workflow-spec-list.component.scss b/src/app/workflow-spec-list/workflow-spec-list.component.scss index 3abe8dc..05c98ed 100644 --- a/src/app/workflow-spec-list/workflow-spec-list.component.scss +++ b/src/app/workflow-spec-list/workflow-spec-list.component.scss @@ -35,8 +35,13 @@ } +.mat-list-base .mat-list-item, .mat-list-base .mat-list-option { + height: auto; +} + .workflow-spec { border-left: 4px solid $brand-gray-light; + font-size: 1em; &:hover { border-left: 4px solid $brand-primary; background-color: $brand-primary-tint-4; @@ -50,6 +55,9 @@ width: 300px; margin-left: 20px; } + .spec-selected { + font-weight: bold; + } .spec-actions { width: 100px; opacity: 0;