blob: ad8d9c8c1e53f42d95ae48e7a28bc4a5dcb83274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<div class="row">
<div class="col-lg-12">
<div class="page-header">
<h1>Report: <small>"//data.tag.name//"</small></h1>
</div>
<form role="form" ng-submit="submit()" >
<div class="form-group" ng-class="{'has-error':error.description}">
<label>Description:</label>
<span class="help-inline" ng-bind="error.description"></span>
<textarea class="form-control" ng-model="tag.description" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-default btn-sm input-sm pull-right">
Save
</button>
</form>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<h2>Builds</h2>
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Number</th>
<th>Name</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="build in data.builds">
<td><a ng-href="//build.absolute_url//">//build.id//</a></td>
<td><a ng-href="//build.absolute_url//">//build.number//</a></td>
<td><a ng-href="//build.absolute_url//">//build.name//</a></td>
</tr>
</tbody>
</table>
<hr/>
<h2>Lava Jobs</h2>
<div ng-repeat="lava_job in data.lava_jobs">
<h3>
Lava job <a ng-href="//lava_job.absolute_url//">//lava_job.id//</a>
<small ng-hide="lava_job.results.length"> - Empty</small>
</h3>
<table class="table" ng-show="lava_job.results.length">
<thead>
<tr>
<th>Number</th>
<th>Pass</th>
<th>Fail</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="result in lava_job.results">
<td>//result.name//</td>
<td>//result.results.pass//</td>
<td>//result.results.fail//</td>
</tr>
</tbody>
</table>
</div>
<hr/>
<h2>Manual Testruns</h2>
<table class="table">
<thead>
<tr>
<th>Test Plan</th>
<th ng-repeat="name in data.testruns[0].result">
// name[0] //
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="testrun in data.testruns">
<td><a ng-href='/testplanner/#//testrun.test_plan.id//'>//testrun.test_plan.name//</a></td>
<td ng-repeat="name in testrun.result">// name[1] //</td>
<td>//result.results.fail//</td>
</tr>
</tbody>
</table>
</div>
</div>
|