diff options
| author | Michael Davis <michael.s.davis@ibm.com> | 2017-08-01 15:48:34 -0500 |
|---|---|---|
| committer | Adriana Kobylak <anoo@us.ibm.com> | 2017-10-09 13:57:57 -0500 |
| commit | 428375e827eae425c6e08dcc27ccdc13c035e6f9 (patch) | |
| tree | a51c196ea21ae946fe863dc9a3fc27534f3a52c9 /app/server-health/controllers/log-controller.html | |
| parent | df3bd12408c3ec0d21a0d9b42694ee42d2fb6f80 (diff) | |
| download | phosphor-webui-428375e827eae425c6e08dcc27ccdc13c035e6f9.tar.gz phosphor-webui-428375e827eae425c6e08dcc27ccdc13c035e6f9.zip | |
loader animation added to pages
Change-Id: Id8c890714d0a90ae913b6581cd655abcf6cd6781
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
Diffstat (limited to 'app/server-health/controllers/log-controller.html')
| -rw-r--r-- | app/server-health/controllers/log-controller.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/server-health/controllers/log-controller.html b/app/server-health/controllers/log-controller.html index 0975e7f..2e48093 100644 --- a/app/server-health/controllers/log-controller.html +++ b/app/server-health/controllers/log-controller.html @@ -1,3 +1,4 @@ +<loader loading="loading"></loader> <div id="event-log"> <div class="row column"> <h1>Event log</h1> @@ -55,7 +56,7 @@ <button class="inline btn-delete" ng-show="selectedEvents.length || all" ng-click="confirm= ! confirm"> <img class="event__icon" src="assets/images/icon-trashcan-white.svg" alt="">Delete </button> - <button class="inline btn-resolve" ng-show="selectedEvents.length || all" ng-click="resolve()"> + <button class="inline btn-resolve" ng-class="{'disabled': ((selectedEvents|unResolvedCount) == 0)}" ng-show="selectedEvents.length || all" ng-click="resolve()" ng-disabled="(selectedEvents|unResolvedCount) == 0"> <img class="event__icon" src="assets/images/icon-check-white.svg" alt="">Mark as resolved </button> <a ng-href="data:text/json;charset=utf-8,{{export_data}}" class="inline btn-export" download="{{export_name}}" ng-show="selectedEvents.length || all">Export</a> |

