dubdiff/client/app/admin/admin.jade

11 lines
387 B
Plaintext

div(ng-include='"components/navbar/navbar.html"')
.container
p
| The delete user and user index api routes are restricted to users with the 'admin' role.
ul.list-group
li.list-group-item(ng-repeat='user in users')
strong {{user.name}}
br
span.text-muted {{user.email}}
a.trash(ng-click='delete(user)')
span.glyphicon.glyphicon-trash.pull-right