Semaphore/public/html/users/list.jade
Matej Kramny b4cab16fda Improved UI
- Fixes #94
- Fixes admin permissions (needed to manipulate users)
2016-06-17 13:16:46 -07:00

16 lines
437 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.table-hover
thead: tr
th Name
th Username
th Email
tr(ng-repeat="u in users" ng-class="{ info: u.id == user.id }" ui-sref="users.user({ user_id: u.id })" style="cursor: pointer;")
td {{ u.name }}
td {{ u.username }}
td {{ u.email }}
p(ng-show="users.length == 0") No Users