dnet-docker/dnet-app/frontends/is/src/app/wf-confs/wf-conf-single.html

37 lines
1.3 KiB
HTML

<mat-card *ngIf="conf" style="margin-top: 0.4em;">
<mat-card-header>
<mat-card-title>{{conf.name}}</mat-card-title>
<mat-card-subtitle *ngIf="conf.dsName"><b>Datasource Name:</b> {{conf.dsName}}</mat-card-subtitle>
<mat-card-subtitle *ngIf="conf.dsId"><b>Datasource ID:</b> {{conf.dsId}}</mat-card-subtitle>
<mat-card-subtitle *ngIf="conf.apiId"><b>Datasource API:</b> {{conf.apiId}}</mat-card-subtitle>
</mat-card-header>
<mat-card-content style="padding-top: 1em;">
<button mat-stroked-button color="primary" (click)="launchWfConf()">
<mat-icon fontIcon="play_circle"></mat-icon>
launch
</button>
<button mat-stroked-button color="primary" (click)="editConf()">
<mat-icon fontIcon="edit"></mat-icon>
configure
</button>
<button mat-stroked-button color="warn" (click)="deleteConf()">
<mat-icon fontIcon="delete"></mat-icon>
delete
</button>
<button mat-stroked-button color="primary" (click)="refresh()">
<mat-icon fontIcon="refresh"></mat-icon>
refresh
</button>
<mat-divider style="margin-top: 1em; margin-bottom: 1em;"></mat-divider>
<wf-history-table [entries]="historyEntries" [allfields]="false"></wf-history-table>
</mat-card-content>
</mat-card>
<div *ngIf="!conf" style="margin-top: 2em;">
Workflow Configuration does not exist
</div>