This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/directives/quay-service-status-bar.html

25 lines
1.1 KiB
HTML
Raw Normal View History

2019-11-12 16:09:47 +00:00
<div class="announcement inline"
ng-show="indicator != 'loading' && (scheduled_maintenances.length || incidents.length)">
<div ng-repeat="incident in incidents" class="message">
<span class="quay-service-status-indicator" ng-class="indicator"
ng-if="indicator != 'loading'"></span>
<a ng-href="{{ incident.shortlink }}" class="quay-service-status-description">{{ incident.name }}</a>
</div>
<div ng-repeat="scheduled in scheduled_maintenances" class="message">
<i class="fa fa-calendar" style="margin-right: 6px;"></i>
<span ng-switch on="scheduled.status" style="vertical-align: middle">
<span ng-switch-when="scheduled">
Scheduled for <time-display datetime="scheduled.scheduled_for"></time-display>:
</span>
<b ng-switch-when="in_progress" style="color: #FDFFB9;">
In progress:
</b>
<b ng-switch-when="verifying" style="color: #FDFFB9;">
In progress:
</b>
</span>
<a ng-href="{{ scheduled.shortlink }}" class="quay-service-status-description">{{ scheduled.name }}</a>
</div>
</div>