diff --git a/inventory_provider/static/update.html b/inventory_provider/static/update.html index 18be17d988c37743560d3d5331234042b7c047ed..0d615b21b475c422331786b2957594cb78129725 100644 --- a/inventory_provider/static/update.html +++ b/inventory_provider/static/update.html @@ -29,13 +29,15 @@ {{ update_request_status }} </div> - <div class="grid-item" ng-show="latch_error||latch_pending"> - <table> + <span class="grid-item" ng-show="latch_error||latch_pending"> + <table class="table table-striped"> <tr> - <th>name</th> - <th>status</th> - <th>success</th> - <th>message</th> + <th colspan="4" scope="col">update tasks</th> + <tr> + <th scope="col">name</th> + <th scope="col">status</th> + <th scope="col">success</th> + <th scope="col">message</th> </tr> <tr ng-repeat="t in tasks"> <td>{{ t.name }}</td> @@ -44,7 +46,7 @@ <td>{{ t.message }}</td> </tr> </table> - </div> + </span> </div> </div> diff --git a/inventory_provider/static/update.js b/inventory_provider/static/update.js index 2c3e779a39b053d1eb67af8df1d5f6a501704f07..64e6807348e3d7fa065be42a01deb5a5c1334912 100644 --- a/inventory_provider/static/update.js +++ b/inventory_provider/static/update.js @@ -57,7 +57,7 @@ myApp.controller('update', function($scope, $http, $timeout) { parent: t.parent, status: t.status, success: t.ready ? (t.success ? "OK" : "NO") : "-", - message: (t.result && t.result.message) ? t.result.message.substring(0,30) : "", + message: (t.result && t.result.message) ? t.result.message.substring(0,100) : "", name: t.result ? t.result.task : "", })); },