diff options
Diffstat (limited to 'src/main/resources/webapp/apps/frontPageApp')
-rwxr-xr-x | src/main/resources/webapp/apps/frontPageApp/frontPageApp.js | 2 | ||||
-rwxr-xr-x | src/main/resources/webapp/apps/frontPageApp/person.html | 14 |
2 files changed, 5 insertions, 11 deletions
diff --git a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js index 6f80d0f..518fbbc 100755 --- a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js +++ b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js @@ -80,7 +80,7 @@ function PersonCtrl($scope, $routeParams, Person, Build, PagingTableService) { var personUuid = $routeParams.personUuid; $scope.mode = 'overview'; - $scope.builds = PagingTableService.create($scope, PagingTableService.defaultCallback(Build, {person: personUuid})); + $scope.builds = PagingTableService.create($scope, PagingTableService.defaultCallback(Build, {person: personUuid}), {count: 100}); $scope.setMode = function(mode) { $scope.mode = mode; diff --git a/src/main/resources/webapp/apps/frontPageApp/person.html b/src/main/resources/webapp/apps/frontPageApp/person.html index ba5c18d..cec5738 100755 --- a/src/main/resources/webapp/apps/frontPageApp/person.html +++ b/src/main/resources/webapp/apps/frontPageApp/person.html @@ -46,15 +46,6 @@ <div class="span6"> <h3>Recent builds</h3> <table class="table"> - <thead> - <!-- - <tr> - <th>Date</th> - <th>Success</th> - <th></th> - </tr> - --> - </thead> <tbody> <tr ng-repeat="build in recentBuilds" class="{{{true: 'success', false: 'error'}[build.success]}}"> <td>{{build.timestamp | date:'medium'}}</td> @@ -68,7 +59,7 @@ <div id="builds" ng-show="mode == 'builds'"> <h3>Builds</h3> - <table class="table"> + <table class="table text-baseline"> <thead> <tr> <th>Date</th> @@ -79,6 +70,9 @@ <tr ng-repeat="build in builds.rows" class="{{{true: 'build-success', false: 'build-error'}[build.success]}}"> <td>{{build.timestamp | date:'medium'}}</td> <td>{{build.success}}</td> + <td> + <a class="btn btn-small" href="/build/{{build.uuid}}"><i class="icon-chevron-right"></i></a> + </td> </tr> </tbody> <tfoot> |