aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/jenkinsApp/job.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-29 18:11:08 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-29 18:19:19 +0100
commit84fb49088a14cff8b453e0e32f6ad7007eb2184a (patch)
treeb306c923570b26501da8df1f6e41ec2404a19faa /src/main/webapp/apps/jenkinsApp/job.html
parent1b83af30a4e935f2037a6e9153cb438c29adfbfc (diff)
downloadesper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.gz
esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.bz2
esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.tar.xz
esper-testing-84fb49088a14cff8b453e0e32f6ad7007eb2184a.zip
o Adding jobs view for jenkins app.
Diffstat (limited to 'src/main/webapp/apps/jenkinsApp/job.html')
-rw-r--r--src/main/webapp/apps/jenkinsApp/job.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/main/webapp/apps/jenkinsApp/job.html b/src/main/webapp/apps/jenkinsApp/job.html
new file mode 100644
index 0000000..5113d2e
--- /dev/null
+++ b/src/main/webapp/apps/jenkinsApp/job.html
@@ -0,0 +1,59 @@
+<div class="container">
+
+ <div class="page-header">
+ <h1>Jenkins Job</h1>
+ </div>
+
+ <ul class="breadcrumb">
+ <li><a ng-click="showServers()">All Servers</a> <span class="divider">/</span></li>
+ <li><a ng-click="showServer()">Servers</a> <span class="divider">/</span></li>
+ <li class="active">Job</li>
+ </ul>
+
+ <h3>Overview</h3>
+
+ <table class="table">
+ <tbody>
+ <tr>
+ <th>URL</th>
+ <td><a href="{{job.displayName}}">{{job.displayName}}</a></td>
+ </tr>
+ <tr>
+ <th>Build count</th>
+ <td>{{job.buildCount}}</td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h3>Recent Builds</h3>
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Build</th>
+ <th>Result</th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr ng-repeat="build in builds.rows" class="{{{true: 'success', false: 'error'}[build.success]}}">
+ <td>{{build.createdDate | date:'medium'}}</td>
+ <td>{{build.result}}</td>
+ <td><a class="btn" ng-click="showBuild(build.uuid)"><i class="icon-chevron-right"></i></a></td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <td colspan="3">
+ <ul class="pager">
+ <li class="previous" ng-class="{disabled: builds.startIndex == 0}">
+ <a ng-click="builds.prev()">&larr; Older</a>
+ </li>
+ <li class="next">
+ <a ng-click="builds.next()">Newer &rarr;</a>
+ </li>
+ </ul>
+ </td>
+ </tr>
+ </tfoot>
+ </table>
+</div>