zettapi_client
Version:
Admin panel and client-side CRUD operations in angular to use with zettapi_server rest api to get started quickly in any CMS project.
18 lines (17 loc) • 768 B
HTML
<div class="col-sm-12">
<div class="table-responsive">
<table ng-table="table.params" class="table table-striped table-condensed">
<tr ng-repeat="item in $data">
<td data-title="'name'" sortable="'name'">{{item.name}}</td>
<td data-title="'Administrador'" sortable="'admin'"><i ng-class="item.admin ? 'fa fa-check' : 'fa fa-times'"></i></td>
<td data-title="'Nível de Aprovação'" sortable="'approvalLevel'"><span class="badge">{{item.approvalLevel}}</span></td>
<td class="text-right">
<entity-modal entity="{{entity}}" item="item" lookup="lookup"></entity-modal>
</td>
<td class="text-right">
<entity-remove entity="{{entity}}" item="item"></entity-remove>
</td>
</tr>
</table>
</div>
</div>