blob: 950b7b7c253a510e6c8a8c7b87b8abe8bfb62313 [file] [log] [blame]
<!--
Copyright 2017-present Open Networking Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- <xos-table data="vm.contentProviderList" config="vm.config"/> -->
<table class="table table-striped" ng-show="vm.contentProviderList.length > 0">
<thead>
<tr>
<th>
Name
</th>
<th>Description</th>
<th>Status</th>
<th></th>
</tr>
</thead>
<tr ng-repeat="item in vm.contentProviderList">
<td>
<a ui-sref="details({ id: item.id })">{$ item.humanReadableName $}</a>
</td>
<td>
{$ item.description $}
</td>
<td>
{$ item.enabled $}
</td>
<td class="text-right">
<a ng-click="vm.deleteCp(item.id)" class="btn btn-danger"><i class="glyphicon glyphicon-remove"></i></a></td>
</tr>
</table>
<div class="alert alert-error" ng-show="vm.contentProviderList.length == 0">
No Content Provider defined
</div>
<div class="row">
<div class="span12 text-right">
<a class="btn btn-success"href="#/contentProvider/">Create</a>
</div>
</div>