diff options
Diffstat (limited to 'src/main')
-rwxr-xr-x | src/main/resources/webapp/apps/app.css | 10 | ||||
-rwxr-xr-x | src/main/resources/webapp/apps/frontPageApp/frontPageApp.js | 2 | ||||
-rwxr-xr-x | src/main/resources/webapp/apps/frontPageApp/person.html | 14 |
3 files changed, 14 insertions, 12 deletions
diff --git a/src/main/resources/webapp/apps/app.css b/src/main/resources/webapp/apps/app.css index 3088282..a53238d 100755 --- a/src/main/resources/webapp/apps/app.css +++ b/src/main/resources/webapp/apps/app.css @@ -21,7 +21,15 @@ } /* - * + * Common elements + */ + +table.text-baseline td { + vertical-align: baseline +} + +/* + * Other */ #content { 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> |