wip - design changes

This commit is contained in:
alicia pritchett 2021-09-20 10:04:12 -04:00
parent e5439a5680
commit 6b71a8a16e
3 changed files with 12 additions and 28 deletions

View File

@ -88,26 +88,6 @@ export class WorkflowSpecDialogComponent {
required: true, required: true,
}, },
}, },
{
key: 'standalone',
type: 'checkbox',
defaultValue: this.data.standalone ? this.data.standalone : false,
templateOptions: {
label: 'Standalone',
description: 'Is this a standalone workflow?',
indeterminate: false,
},
},
{
key: 'library',
type: 'checkbox',
defaultValue: this.data.library ? this.data.library : false,
templateOptions: {
label: 'Library',
description: 'Is this a library workflow?',
indeterminate: false,
},
},
]; ];
}); });
} }

View File

@ -3,11 +3,11 @@
<div class="buttons" fxLayout="row" fxLayoutGap="10px"> <div class="buttons" fxLayout="row" fxLayoutGap="10px">
<button id="add_spec" mat-flat-button color="primary" (click)="editWorkflowSpec()" fxLayoutAlign="stretch"> <button id="add_spec" mat-flat-button color="primary" (click)="editWorkflowSpec()" fxLayoutAlign="stretch">
<mat-icon>library_add</mat-icon> <mat-icon>library_add</mat-icon>
Add new workflow specification Add Library Spec
</button> </button>
<button id="add_category" mat-flat-button color="accent" (click)="editWorkflowSpecCategory()" fxLayoutAlign="stretch"> <button id="add_library" mat-flat-button color="primary" (click)="editWorkflowSpec()" fxLayoutAlign="stretch">
<mat-icon>post_add</mat-icon> <mat-icon>library_add</mat-icon>
Add category Add Study Spec
</button> </button>
<mat-form-field class="search-field"> <mat-form-field class="search-field">
<label><input matInput type="search" placeholder="Search Workflows" class="form-control" [formControl]="searchField"></label> <label><input matInput type="search" placeholder="Search Workflows" class="form-control" [formControl]="searchField"></label>
@ -33,7 +33,7 @@
<mat-expansion-panel> <mat-expansion-panel>
<mat-expansion-panel-header> <mat-expansion-panel-header>
<mat-panel-title> <mat-panel-title>
<h4>Libraries</h4> <h4>Library Specs</h4>
</mat-panel-title> </mat-panel-title>
</mat-expansion-panel-header> </mat-expansion-panel-header>
<mat-list> <mat-list>
@ -53,8 +53,12 @@
<mat-divider></mat-divider> <mat-divider></mat-divider>
<ng-container> <ng-container>
<div class="category"> <div class="category" fxLayout="row">
<h4>Categories</h4> <h4>Study Specs</h4>
<button id="add_category" mat-flat-button color="accent" (click)="editWorkflowSpecCategory()" fxLayoutAlign="stretch">
<mat-icon>post_add</mat-icon>
Add category
</button>
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>

View File

@ -17,7 +17,7 @@
} }
.category { .category {
padding: 1rem 1rem 0 0; padding: 1rem 1rem 1rem 0;
h4 { h4 {
margin: 1rem 1rem 0 0; margin: 1rem 1rem 0 0;