blob: e54ebe61e61e9ab8548d3ad0d6e1aa75647f8185 [file] [log] [blame]
Matteo Scandolof5cbbb12015-10-28 12:00:07 +01001<table class="table table-striped" ng-show="vm.contentProviderList.length > 0">
2 <thead>
3 <tr>
4 <th>
5 Name
6 </th>
7 <th>Description</th>
8 <th>Status</th>
9 <th></th>
10 </tr>
11 </thead>
12 <tr ng-repeat="item in vm.contentProviderList">
13 <td>
Matteo Scandolo6f7f9742015-11-06 18:49:33 +010014 <a ui-sref="details({ id: item.id })">{$ item.humanReadableName $}</a>
Matteo Scandolof5cbbb12015-10-28 12:00:07 +010015 </td>
16 <td>
17 {$ item.description $}
18 </td>
19 <td>
20 {$ item.enabled $}
21 </td>
22 <td class="text-right">
23 <a ng-click="vm.deleteCp(item.id)" class="btn btn-danger"><i class="icon icon-remove"></i></a></td>
24 </tr>
25</table>
26<div class="alert alert-error" ng-show="vm.contentProviderList.length == 0">
27 No Content Provider defined
28</div>
29
30<div class="row">
31 <div class="span12 text-right">
32 <a class="btn btn-success"href="#/contentProvider/">Create</a>
33 </div>
34</div>