Matteo Scandolo | 15d692c | 2015-10-28 12:00:07 +0100 | [diff] [blame] | 1 | <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 Scandolo | 7db0843 | 2015-11-06 18:49:33 +0100 | [diff] [blame] | 14 | <a ui-sref="details({ id: item.id })">{$ item.humanReadableName $}</a> |
Matteo Scandolo | 15d692c | 2015-10-28 12:00:07 +0100 | [diff] [blame] | 15 | </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> |