blob: 6882612144fd0a174e19a71120e845ea556cd791 (
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
|
<div class="row">
<div class="col-lg-12">
<div class="page-header">
<a title="Create" href="#/new" class="btn btn-default btn-sm pull-right btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span>
</a>
<h1>Reports</h1>
</div>
<h1 ng-hide="!tags_progress" class="center-block"><span class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></span> Loading...</h1>
<table ng-hide="tags_progress" class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th># of builds in the report</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="tag in tags">
<td><a ng-href="#//tag.id//">//tag.id//</a></td>
<td class="text-left">
<a ng-href="public/#//tag.id//">//tag.name//</a>
</td>
<td>
//tag.builds.length//
</td>
<td>
<a ng-href="#//tag.id//">
<span class="glyphicon glyphicon-edit"></span>
</a>
</td>
<td>
<a href="" ng-click="tag.to_remove = true" ng-hide="tag.to_remove">
<span class="pull-right glyphicon glyphicon-trash"></span>
</a>
<a href="" ng-click="tag.to_remove = false" ng-show="tag.to_remove" title="cancel">
<span style="color:green" class="pull-right glyphicon glyphicon-remove "></span>
</a>
<a href="" ng-click="remove(tag)" ng-show="tag.to_remove" title="remove">
<span style="color:red" class="pull-right glyphicon glyphicon-ok"></span>
</a>
</td>
</tr>
</tbody>
</table>
<a title="Create" href="#/new" class="btn btn-default btn-sm pull-right btn-success" role="button">
<span class="glyphicon glyphicon-plus"></span>
</a>
</div>
</div>
|