Semaphore/public/html/projects/users/list.jade
Matej Kramny 04d0d9e4f9 Users API, Users UI
- Improved login failing
2016-04-10 19:03:12 +01:00

16 lines
449 B
Plaintext

h3 Users
button.btn.btn-success.pull-right.btn-xs(ng-click="addUser()") Add User
table.table
thead: tr
th Name
th Username
th Email
th Admin
th  
tbody: tr(ng-repeat="u in users" ng-class="{ info: u.id == user.data.id }")
td {{ u.name }}
td {{ u.username }}
td {{ u.email }}
td: i.fa.fa-fw(ng-class="{ 'fa-times': !u.admin, 'fa-check': u.admin }")
td: button.btn.btn-danger.pull-right.btn-xs(ng-click="remove(u)") remove