Monty Taylor | 4a781a7 | 2017-07-25 07:28:04 -0400 | [diff] [blame] | 1 | <!DOCTYPE html> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright 2017 Red Hat |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 6 | not use this file except in compliance with the License. You may obtain |
| 7 | a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 13 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 14 | License for the specific language governing permissions and limitations |
| 15 | under the License. |
| 16 | --> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 17 | <html> |
| 18 | <head> |
Monty Taylor | 4a781a7 | 2017-07-25 07:28:04 -0400 | [diff] [blame] | 19 | <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> |
| 20 | <title id='pagetitle'><%= htmlWebpackPlugin.options.title %></title> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 21 | </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 Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 49 | <th>Job</th> |
| 50 | <th>Project</th> |
| 51 | <th>Pipeline</th> |
| 52 | <th>Change</th> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 53 | <th>Duration</th> |
| 54 | <th>Log url</th> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 55 | <th>Start time</th> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 56 | <th>Result</th> |
| 57 | </tr> |
| 58 | </thead> |
| 59 | <tbody> |
| 60 | <tr ng-repeat="build in builds" ng-class="rowClass(build)"> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 61 | <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 Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 65 | <td>{{ build.duration }} seconds</td> |
| 66 | <td><a ng-if="build.log_url" href="{{ build.log_url }}" target="_self">logs</a></td> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 67 | <td>{{ build.start_time }}</td> |
Tristan Cacqueray | daa95de | 2017-11-29 05:37:46 +0000 | [diff] [blame] | 68 | <td>{{ build.result }}</td> |
| 69 | </tr> |
| 70 | </tbody> |
| 71 | </table> |
| 72 | </div></body></html> |