Files
grafana/public/app/features/org/partials/orgUsers.html

54 lines
1.3 KiB
HTML
Raw Normal View History

2015-02-23 18:29:01 +01:00
<topnav title="Organization" icon="fa fa-fw fa-users" subnav="true">
<ul class="nav">
2015-02-23 18:29:01 +01:00
<li class="active"><a href="org/users">Users</a></li>
</ul>
</topnav>
2015-02-08 10:23:35 +01:00
<div class="page-container">
<div class="page">
<h2>Organization users</h2>
2015-02-08 10:23:35 +01:00
<button class="btn btn-success pull-right" ng-click="openInviteModal()">
Invite Users
</button>
2015-02-08 10:23:35 +01:00
<br>
<div ng-model="editor.index" bs-tabs style="text-transform:capitalize;">
<div ng-repeat="tab in ['Users', 'Pending Invitations']" data-title="{{tab}}">
</div>
</div>
<div ng-if="editor.index == 0">
<table class="grafana-options-table form-inline">
<tr>
<th>Login</th>
<th>Email</th>
<th>Role</th>
<th></th>
</tr>
<tr ng-repeat="user in users">
<td>{{user.login}}</td>
<td>{{user.email}}</td>
<td>
<select type="text" ng-model="user.role" class="input-medium" ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']" ng-change="updateOrgUser(user)">
</select>
</td>
<td style="width: 1%">
<a ng-click="removeUser(user)" class="btn btn-danger btn-mini">
<i class="fa fa-remove"></i>
</a>
</td>
</tr>
</table>
</div>
<div ng-if="editor.index == 1">
Pending invitaitons
</div>
</div>
</div>