Add a service status indicator to the footer and add a notification bar for any incidents
This commit is contained in:
parent
afe6be0daf
commit
ace6da5514
9 changed files with 173 additions and 44 deletions
7
static/directives/quay-service-status-bar.html
Normal file
7
static/directives/quay-service-status-bar.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div class="announcement inline" ng-show="indicator != 'none' && indicator != 'loading'">
|
||||
<div ng-repeat="incident in incidents">
|
||||
<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>
|
6
static/directives/quay-service-status.html
Normal file
6
static/directives/quay-service-status.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<span class="quay-service-status-element">
|
||||
<span class="quay-service-status-indicator" ng-class="indicator"
|
||||
ng-if="indicator != 'loading'"></span>
|
||||
<span class="cor-loader-inline" ng-if="indicator == 'loading'"></span>
|
||||
<a href="http://status.quay.io" class="quay-service-status-description">{{ description }}</a>
|
||||
</span>
|
Reference in a new issue