blob: 84c8e4bf6409633026c9bd6c50592936c47b3872 [file] [log] [blame]
Matteo Scandolo42e3fe22016-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 Scandolo1a5bf202016-05-31 14:26:26 -07006 <ul class="list-group" ng-show="!vm.showNoSync">
Matteo Scandolo42e3fe22016-05-27 14:52:37 -07007 <li class="list-group-item" ng-repeat="(syncName, syncStatus) in vm.synchronizers">
8 <span class="badge" ng-class="{success: syncStatus.status, danger: !syncStatus.status}">
9 <span ng-show="syncStatus.status"><i class="glyphicon glyphicon-ok"></i></span>
10 <span ng-hide="syncStatus.status"><i class="glyphicon glyphicon-remove"></i></span>
11 </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>