mirror of
https://github.com/bitwarden/web
synced 2026-01-07 11:03:16 +00:00
Manage subvault users
This commit is contained in:
51
src/app/organization/views/organizationSubvaultsUsers.html
Normal file
51
src/app/organization/views/organizationSubvaultsUsers.html
Normal file
@@ -0,0 +1,51 @@
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title"><i class="fa fa-users"></i> User Access <small>{{subvault.name}}</small></h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div ng-show="loading && !users.length">
|
||||
Loading...
|
||||
</div>
|
||||
<div ng-show="!loading && !users.length">
|
||||
<p>No users.</p>
|
||||
</div>
|
||||
<div class="table-responsive" ng-show="users.length">
|
||||
<table class="table table-striped table-hover table-vmiddle">
|
||||
<tbody>
|
||||
<tr ng-repeat="user in users | orderBy: ['email']">
|
||||
<td style="width: 40px;">
|
||||
<button type="button" class="btn btn-link btn-table" uib-tooltip="Remove User"
|
||||
ng-click="remove(user)">
|
||||
<i class="fa fa-lg fa-remove"></i>
|
||||
</button>
|
||||
</td>
|
||||
<td style="width: 45px;">
|
||||
<img src="//www.gravatar.com/avatar/{{user.email | gravatar}}.jpg?s=45&d=mm"
|
||||
class="img-circle" alt="User Image">
|
||||
</td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" ng-click="edit(user.id)">{{user.email}}</a>
|
||||
<div ng-if="user.name"><small class="text-muted">{{user.name}}</small></div>
|
||||
</td>
|
||||
<td style="width: 40px;" align="center">
|
||||
<i class="fa fa-pencil-square-o" ng-show="!user.readOnly" uib-tooltip="Can Edit"></i>
|
||||
</td>
|
||||
<td style="width: 100px;">
|
||||
{{user.type | enumName: 'OrgUserType'}}
|
||||
</td>
|
||||
<td style="width: 120px;">
|
||||
<span class="label {{user.status | enumLabelClass: 'OrgUserStatus'}}">
|
||||
{{user.status | enumName: 'OrgUserStatus'}}
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<h4>Add User</h4>
|
||||
<p>Coming soon...</p>
|
||||
<p>Navigate to a specific user from the "people" page to associate them to a subvault.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default btn-flat" ng-click="close()">Close</button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user