1 <div class="execution-history-container">
2 <div class="row mb-3" *ngIf="hasHistory">
3 <div class="col text-right">
4 <button class="btn btn-sm btn-outline-secondary" (click)="clearHistory()">
5 <i class="fa fa-trash mr-1"></i> Clear History
10 <div *ngIf="!hasHistory" class="empty-state text-center p-5">
11 <i class="fa fa-history fa-3x text-muted mb-3"></i>
12 <p class="text-muted">No execution history yet.</p>
13 <p class="text-muted small">Execute a blueprint from the Execution Setup tab to see results here.</p>
16 <table class="table table-hover" *ngIf="hasHistory">
28 <tr *ngFor="let exec of executions"
29 (click)="selectExecution(exec)"
30 [class.table-active]="selectedExecution === exec"
32 <td class="request-id">{{ exec.requestId }}</td>
33 <td>{{ exec.blueprintName }}</td>
34 <td>{{ exec.blueprintVersion }}</td>
35 <td>{{ exec.actionName }}</td>
38 [class.badge-success]="exec.status === 'success'"
39 [class.badge-danger]="exec.status === 'failure'"
40 [class.badge-warning]="exec.status === 'pending'">
44 <td>{{ exec.timestamp }}</td>