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.
13 lines (12 loc) • 646 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="'Data/Hora'" sortable="'created_at'">{{item.created_at | date: 'yyyy.MM.dd HH:mm'}}</td>
<td data-title="'Utilizador'" sortable="'who'"><a ng-if="item.who" href="#user/view/{{item.who}}"><i class="fa fa-user"></i> ver perfil</a></td>
<td data-title="'Acção'" sortable="'action'">{{item.action}}</td>
<td data-title="'Objecto'" sortable="'what'">{{item.where}} ({{item.what}})</td>
</tr>
</table>
</div>
</div>