dnet-docker/dnet-app/frontends/is/src/app/wf-history/wf-runtime-graph.dialog.html

20 lines
644 B
HTML

<h1 mat-dialog-title>Process {{wf.processId}} - {{wf.status}
<span class="badge-label" [ngClass]="{
'badge-success' : wf.status === 'success',
'badge-failure' : wf.status === 'failure',
'badge-pending' : wf.status === 'created' || wf.status === 'accepted'
}">{{wf.status}}</span>
</h1>
<div mat-dialog-content>
<pre class="mermaid" #mermaidGraph style="min-height: 200px;"></pre>
</div>
<div mat-dialog-actions>
<button mat-stroked-button color="primary" mat-dialog-close>Close</button>
<button mat-stroked-button color="primary" (click)="refresh()">
<mat-icon fontIcon="refresh"></mat-icon>
Refresh
</button>
</div>