| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <topnav title="Organization" icon="fa fa-fw fa-users" subnav="true">
- <ul class="nav">
- <li class="active"><a href="org/users">Users</a></li>
- </ul>
- </topnav>
- <div class="page-container">
- <div class="page">
- <h2>Organization users</h2>
- <button class="btn btn-success pull-right" ng-click="openInviteModal()">
- Invite Users
- </button>
- <br>
- <tabset>
- <tab heading="Users ({{users.length}})">
- <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>
- </tab>
- <tab heading="Pending Invitations ({{pendingInvites.length}})">
- <table class="grafana-options-table form-inline">
- <tr>
- <th>Email</th>
- <th>Name</th>
- <th></th>
- </tr>
- <tr ng-repeat="invite in pendingInvites">
- <td>{{invite.email}}</td>
- <td>{{invite.name}}</td>
- <td style="width: 1%">
- <button class="btn btn-inverse btn-mini" data-clipboard-text="{{snapshotUrl}}" clipboard-button>
- <i class="fa fa-clipboard"></i> Copy Invite
- </button>
-
- <a class="pointer">
- <i class="fa fa-caret-right"></i>
- </a>
- </td>
- </tr>
- </table>
- </tab>
- </tabset>
- </div>
- </div>
|