diff options
Diffstat (limited to 'src/main/resources/webapp/apps/frontPageApp/person.html')
-rwxr-xr-x | src/main/resources/webapp/apps/frontPageApp/person.html | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/src/main/resources/webapp/apps/frontPageApp/person.html b/src/main/resources/webapp/apps/frontPageApp/person.html index aef245d..f88a7d0 100755 --- a/src/main/resources/webapp/apps/frontPageApp/person.html +++ b/src/main/resources/webapp/apps/frontPageApp/person.html @@ -47,7 +47,6 @@ <div class="span6"> <h3>Recent builds</h3> <table class="table"> - <tbody> <tr ng-repeat="build in recentBuilds" class="{{{true: 'success', false: 'error'}[build.success]}}"> <td>{{build.createdDate | date:'medium'}}</td> <td>{{{true: 'Success', false: 'Failure'}[build.success]}}</td> @@ -60,17 +59,48 @@ <div id="builds" ng-show="mode == 'builds'"> <h3>Builds</h3> + <div class="row"> + <div class="span12"> + <div class="row" ng-repeat="g in buildGroups"> + <x ng-repeat="(date, group) in g"> + <div class="span12"> + <h2>{{date | date:'mediumDate'}}</h2> + </div> + <div class="span12"> + <table class="table"> + <tr ng-repeat="build in group" class="{{{true: 'success', false: 'error'}[build.success]}}"> + <td> + {{build.createdDate | date:'shortTime'}}: + {{{true: 'SUCCESS', false: 'FAILURE'}[build.success]}} + + <a class="btn pull-right" href="#/build/{{build.uuid}}"><i class="icon-chevron-right"></i></a> + </td> + </tr> + </table> + </div> + </x> + </div> + <ul class="pager"> + <li class="previous" ng-show="builds.startIndex > 0"> + <a ng-click="builds.prev()">← Prev</a> + </li> + <li class="next"> + <a ng-click="builds.next()">Next →</a> + </li> + </ul> + </div> + </div> +<!-- <table class="table text-baseline"> <thead> <tr> <th>Date</th> - <th>Success</th> + <th></th> </tr> </thead> <tbody> - <tr ng-repeat="build in builds.rows" class="{{{true: 'build-success', false: 'build-error'}[build.success]}}"> + <tr ng-repeat="build in builds.rows" class="{{{true: 'success', false: 'error'}[build.success]}}"> <td>{{build.createdDate | 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> @@ -91,6 +121,7 @@ </tr> </tfoot> </table> +--> </div> <div id="jenkins" ng-show="mode == 'jenkins'"> |