aboutsummaryrefslogtreecommitdiff
path: root/static/testreporter/templates/index.html
blob: 69ee04ddce058f7a7dd65aa67bfb4591581d2fbb (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


<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>


    <table class="table table-striped">
      <thead>
	<tr>
	  <th>#</th>
	  <th>Name</th>
	  <th></th>
	</tr>
      </thead>
      <tbody>
	<tr ng-repeat="tag in tags">
	  <td><a ng-href="#//tag.id//">//tag.id//</a></td>
	  <td class="text-left">
	    <span title="builds attached" class="badge">//tag.builds.length//</span>
	    <a ng-href="#//tag.id//">//tag.name//</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>