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) • 787 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="'Utilizador'" sortable="'username'">{{item.username}}</td>
<td data-title="'Email'" sortable="'email'">{{item.email}}</td>
<td data-title="'Perfil'" sortable="'role.name'">{{item.role.name}} - nível {{item.role.approvalLevel}} {{item.role.admin ? '(administrador)' : ''}}</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>