Semaphore/public/html/users/list.jade
2016-04-29 14:05:38 +02:00

18 lines
472 B
Plaintext

.container-fluid: .row: .col-sm-12
h3.no-top-margin Users
button.btn.btn-primary.pull-right(ng-click="addUser()") New User
table.table
thead: tr
th Name
th Username
th Email
th  
tr(ng-repeat="u in users" ng-class="{ info: u.id == user.data.id }")
td {{ u.name }}
td {{ u.username }}
td {{ u.email }}
td: button.btn.btn-default.btn-xs.pull-right(ng-click="changePassword(u)") Change Password
p(ng-show="users.length == 0") No Users