Skip to content

Instantly share code, notes, and snippets.

@Johan-ZeLearner
Last active August 29, 2015 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Johan-ZeLearner/667ba2fa51de19f7f179 to your computer and use it in GitHub Desktop.
Save Johan-ZeLearner/667ba2fa51de19f7f179 to your computer and use it in GitHub Desktop.
<jarvis-widget padding="false" icon="fa-users" title="Liste des profils clients" padding="false">
<table class="table table-hover">
<thead>
<tr>
<th>id</th>
<th>Nom complet</th>
<th>Id sur la boutique</th>
<th>Créé le</th>
<th>Modifié le</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="row in customerProfiles" style="cursor: pointer;"
ui-sref="customerProfile.update({id_customer_profile: row.id_customer_profile})">
<td>{{row.id_customer_profile}}</td>
<td>{{row.name}}</td>
<td>{{row.id_on_store}}</td>
<td>{{row.date_create}}</td>
<td>{{row.date_update}}</td>
<td><a ui-sref="customerProfile.update({id_customer_profile: row.id_customer_profile})"><i
class="fa fa-edit"></i> Modifier</a></td>
</tr>
<tr>
<td colspan="6">
<a ui-sref="customerProfile.create" class="btn btn-primary"><i class="fa fa-plus-sign"></i> Ajouter un
profil de client</a>
</td>
</tr>
</tbody>
<tbody ng-show="customerProfiles.customerProfiles.length == 0">
<tr>
<td colspan="6" class="text-center">Chargement ...</td>
</tr>
</tbody>
</table>
</jarvis-widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment