Skip to content
Snippets Groups Projects
Commit 293af617 authored by Nathan Hertz's avatar Nathan Hertz Committed by Nathan Hertz
Browse files

Renamed `status-buttons` to `status-badges;` removed icons from status badges to reduce confusion

parent ba645f3b
No related branches found
No related tags found
1 merge request!396WS-561: Capability definition UI simplification
This commit is part of merge request !396. Comments created here will be created in the context of that merge request.
......@@ -2,35 +2,23 @@
id="request-status-badge-complete"
class="badge badge-pill badge-success py-2"
*ngIf="capabilityRequest.state === 'Complete'"
><span class="fas fa-check"></span
><span id="request-status-badge-txt-complete" class="pl-2">{{
capabilityRequest.state.toUpperCase()
}}</span>
><span id="request-status-badge-txt-complete">{{ capabilityRequest.state.toUpperCase() }}</span>
</span>
<span
id="request-status-badge-running"
class="badge badge-pill badge-primary py-2"
*ngIf="capabilityRequest.state === 'Submitted'"
><span class="fas fa-play"></span
><span id="request-status-badge-txt-running" class="pl-2">{{
capabilityRequest.state.toUpperCase()
}}</span>
><span id="request-status-badge-txt-running">{{ capabilityRequest.state.toUpperCase() }}</span>
</span>
<span
id="request-status-badge-ready"
class="badge badge-pill badge-secondary py-2"
*ngIf="capabilityRequest.state === 'Created'"
><span class="fas fa-dot-circle"></span
><span id="request-status-badge-txt-ready" class="pl-2">{{
capabilityRequest.state.toUpperCase()
}}</span>
><span id="request-status-badge-txt-ready">{{ capabilityRequest.state.toUpperCase() }}</span>
</span>
<span
id="request-status-badge-failed"
class="badge badge-pill badge-danger py-2"
*ngIf="capabilityRequest.state === 'Failed'"
><span class="fas fa-times"></span
><span id="request-status-badge-txt-failed" class="pl-2">{{
capabilityRequest.state.toUpperCase()
}}</span>
><span id="request-status-badge-txt-failed">{{ capabilityRequest.state.toUpperCase() }}</span>
</span>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment