blob: 25461ac781aed148d9caca8d30df62711cefaa25 [file] [log] [blame]
Monty Taylor4a781a72017-07-25 07:28:04 -04001<!DOCTYPE html>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +00002<!--
3Copyright 2017 Red Hat
4
5Licensed under the Apache License, Version 2.0 (the "License"); you may
6not use this file except in compliance with the License. You may obtain
7a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11Unless required by applicable law or agreed to in writing, software
12distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14License for the specific language governing permissions and limitations
15under the License.
16-->
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000017<html>
18<head>
Monty Taylor4a781a72017-07-25 07:28:04 -040019 <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
20 <title id='pagetitle'><%= htmlWebpackPlugin.options.title %></title>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000021</head>
22<body ng-app="zuulBuilds" ng-controller="mainController"><div class="container-fluid">
23 <nav class="navbar navbar-default">
24 <div class="container-fluid">
25 <div class="navbar-header">
26 <a class="navbar-brand" href="../" target="_self">Zuul Dashboard</a>
27 </div>
28 <ul class="nav navbar-nav">
29 <li><a href="status.html" target="_self">Status</a></li>
30 <li><a href="jobs.html" target="_self">Jobs</a></li>
31 <li class="active"><a href="builds.html" target="_self">Builds</a></li>
32 </ul>
33 <span style="float: right; margin-top: 7px;">
34 <form ng-submit="builds_fetch()">
35 <label>Pipeline:</label>
36 <input name="pipeline" ng-model="pipeline" />
37 <label>Job:</label>
38 <input name="job_name" ng-model="job_name" />
39 <label>Project:</label>
40 <input name="project" ng-model="project" />
41 <input type="submit" value="Refresh" />
42 </form>
43 </span>
44 </div>
45 </nav>
46 <table class="table table-hover table-condensed">
47 <thead>
48 <tr>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000049 <th>Job</th>
50 <th>Project</th>
51 <th>Pipeline</th>
52 <th>Change</th>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000053 <th>Duration</th>
54 <th>Log url</th>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000055 <th>Start time</th>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000056 <th>Result</th>
57 </tr>
58 </thead>
59 <tbody>
60 <tr ng-repeat="build in builds" ng-class="rowClass(build)">
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000061 <td>{{ build.job_name }}</td>
62 <td>{{ build.project }}</td>
63 <td>{{ build.pipeline }}</td>
64 <td><a href="{{ build.ref_url }}" target="_self">change</a></td>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000065 <td>{{ build.duration }} seconds</td>
66 <td><a ng-if="build.log_url" href="{{ build.log_url }}" target="_self">logs</a></td>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000067 <td>{{ build.start_time }}</td>
Tristan Cacqueraydaa95de2017-11-29 05:37:46 +000068 <td>{{ build.result }}</td>
69 </tr>
70 </tbody>
71 </table>
72</div></body></html>