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