This commit is contained in:
parent
356be56fee
commit
397601b56c
|
@ -45,6 +45,7 @@ import { IndexComponent } from './index/index.component';
|
|||
import { OaiComponent } from './oai/oai.component';
|
||||
import { SwaggerUiComponent } from './swagger/swagger-ui.component';
|
||||
import { WfTemplateDialog, WfConfDialog } from './wf-confs/wf-common.component';
|
||||
import { MatMenuModule } from '@angular/material/menu';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
|
@ -119,7 +120,10 @@ import { WfTemplateDialog, WfConfDialog } from './wf-confs/wf-common.component';
|
|||
MatPaginatorModule,
|
||||
MatProgressSpinnerModule,
|
||||
MatTabsModule,
|
||||
MatStepperModule
|
||||
MatStepperModule,
|
||||
MatButtonModule,
|
||||
MatIconModule,
|
||||
MatMenuModule
|
||||
],
|
||||
providers: [{
|
||||
provide: HTTP_INTERCEPTORS,
|
||||
|
|
|
@ -178,12 +178,18 @@
|
|||
config
|
||||
</button>
|
||||
|
||||
<button mat-stroked-button (click)="showGraphModal(wfId)" *ngFor="let wfId of wf.workflows">
|
||||
<mat-icon fontIcon="polyline"></mat-icon> graph ({{wfId}})
|
||||
</button>
|
||||
<button mat-stroked-button (click)="showGraphModal(wf.destroyWf)" *ngIf="wf.destroyWf">
|
||||
<mat-icon fontIcon="polyline"></mat-icon> graph (destroy)
|
||||
<button mat-stroked-button [matMenuTriggerFor]="menu">
|
||||
<mat-icon fontIcon="polyline"></mat-icon>
|
||||
graphs
|
||||
</button>
|
||||
<mat-menu #menu="matMenu">
|
||||
<button mat-menu-item (click)="showGraphModal(wfId)" *ngFor="let wfId of wf.workflows">{{wfId}}</button>
|
||||
<mat-divider *ngIf="wf.destroyWf"></mat-divider>
|
||||
<button mat-menu-item (click)="showGraphModal(wf.destroyWf)" *ngIf="wf.destroyWf">
|
||||
wf.destroyWf (destroy)
|
||||
</button>
|
||||
</mat-menu>
|
||||
|
||||
<button mat-stroked-button color="warn" (click)="destroyWfConf(wf.id)">
|
||||
<mat-icon fontIcon="delete"></mat-icon>
|
||||
delete
|
||||
|
|
Loading…
Reference in New Issue