zettapi_client
Version:
Client side CRUD operations in angular to use with zettapi_server rest api to get started quickly in any CMS project
25 lines • 919 B
HTML
<div class="col-sm-12">
<div class="table-responsive">
<table class="table table-bordered table-hover table-condensed">
<thead>
<tr>
<th>Nome</th>
<th>Administrador</th>
<th>Nível de Aprovação</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in items">
<td>{{item.name}}</td>
<td><span ng-class="item.admin ? 'fa fa-check' : 'fa fa-times'"></span></td>
<td><span class="badge">{{item.approvalLevel}}</span></td>
<td class="text-right">
<button ng-click="openEdit(item);" type="button" class="btn btn-primary btn-xs"><span class="fa fa-pencil"></span></button>
<button ng-click="remove(item);" type="button" class="btn btn-danger btn-xs"><span class="fa fa-trash-o"></span></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>