aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-11 23:46:57 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-11 23:46:57 +0100
commit17419dac386a091c57c190ee772279528336e218 (patch)
treeebcd92602b7e206254db5ea68b3740c08e0ef227
parent0eecb30bd90bce96730fdf89091c610069af590d (diff)
downloadesper-testing-17419dac386a091c57c190ee772279528336e218.tar.gz
esper-testing-17419dac386a091c57c190ee772279528336e218.tar.bz2
esper-testing-17419dac386a091c57c190ee772279528336e218.tar.xz
esper-testing-17419dac386a091c57c190ee772279528336e218.zip
o Prettier build list.
-rwxr-xr-xsrc/main/resources/webapp/apps/app.css10
-rwxr-xr-xsrc/main/resources/webapp/apps/frontPageApp/frontPageApp.js2
-rwxr-xr-xsrc/main/resources/webapp/apps/frontPageApp/person.html14
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>