blob: cbd794e8fc1299a122d476174bbd62c48f5c5d22 [file] [log] [blame]
Matteo Scandolo29069112016-05-27 14:52:37 -07001<div class="sync-status-container">
2 <div class="btn btn-default" ng-click="vm.showNotificationPanel = !vm.showNotificationPanel">
3 <i class="glyphicon glyphicon-inbox"></i>
4 </div>
5 <div class="notification-panel panel panel-default" ng-show="vm.showNotificationPanel">
Matteo Scandolo24464a62016-05-31 14:26:26 -07006 <ul class="list-group" ng-show="!vm.showNoSync">
Matteo Scandolo29069112016-05-27 14:52:37 -07007 <li class="list-group-item" ng-repeat="(syncName, syncStatus) in vm.synchronizers">
Matteo Scandoloc8065742016-06-01 08:35:15 -07008 <span class="badge" ng-class="{success: syncStatus.status, warning: !syncStatus.status}">
Matteo Scandolo29069112016-05-27 14:52:37 -07009 <span ng-show="syncStatus.status"><i class="glyphicon glyphicon-ok"></i></span>
Matteo Scandoloc8065742016-06-01 08:35:15 -070010 <span ng-hide="syncStatus.status"><i class="glyphicon glyphicon-time"></i></span>
Matteo Scandolo29069112016-05-27 14:52:37 -070011 </span>
12 <b>{{syncName}}</b>
13 <br/>
14 <small><i>{{syncStatus.info.last_run | date:'mediumTime'}}</i></small>
15 </li>
16 </ul>
17 <div class="alert alert-info" ng-show="vm.showNoSync">
18 No syncronizers are running.
19 </div>
20 </div>
21</div>