Semaphore/public/html/projects/users/list.jade

16 lines
450 B
Plaintext
Raw Normal View History

h3 Team
button.btn.btn-success.pull-right.btn-xs(ng-click="addUser()") add team member
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.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