UNPKG

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.

19 lines (18 loc) 819 B
<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="'Nome'" sortable="'name'">{{item.name}}</td> <td data-title="'Próximo'">{{item.next | date: 'yyyy-MM-dd'}}</td> <td data-title="'País'" sortable="'country.name.common'">{{item.country.name.common}}</td> <td data-title="'Âmbito'" sortable="'isLocal'">{{item.isLocal ? 'Municipal' : 'Nacional'}}</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>