Initial commit
This commit is contained in:
commit
35745a89ec
44 changed files with 3342 additions and 0 deletions
36
client/Accounts/UserMgmt/userMgmt.html
Normal file
36
client/Accounts/UserMgmt/userMgmt.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<template name="userMgmt">
|
||||
{{#if isInRole 'systemadmin'}}
|
||||
<h3>User Management</h3>
|
||||
<div class="row">
|
||||
<div class="col s12 m12 l12">
|
||||
<table class="striped highlight responsive-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Email</th>
|
||||
<th>Role</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each userInfo}}
|
||||
<tr>
|
||||
<td>{{userName}}</td>
|
||||
<td>{{userEmail}}</td>
|
||||
<td>{{userRole}}</td>
|
||||
<td>
|
||||
<div class="input-field">
|
||||
<i class="material-icons modal-trigger clickable deleteUser" data-target="modalDelete">delete</i>
|
||||
<i class="material-icons clickable editUser modal-trigger" data-target="userInfoModal">edit</i>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{> deleteConfirmationModal}}
|
||||
{{> userInfoModal}}
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue