|
@@ -4,7 +4,7 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
</topnav>
|
|
</topnav>
|
|
|
|
|
|
|
|
-<div class="page-container">
|
|
|
|
|
|
|
+<div class="page-container" style="background: transparent; border: 0;">
|
|
|
<div class="page">
|
|
<div class="page">
|
|
|
|
|
|
|
|
<h2>Organization users</h2>
|
|
<h2>Organization users</h2>
|
|
@@ -18,21 +18,69 @@
|
|
|
|
|
|
|
|
<tabset>
|
|
<tabset>
|
|
|
<tab heading="Users ({{users.length}})">
|
|
<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>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <div class="filter-controls-filters">
|
|
|
|
|
+ <div class="tight-form last">
|
|
|
|
|
+ <ul class="tight-form-list">
|
|
|
|
|
+ <li class="tight-form-item">Filters:</li>
|
|
|
|
|
+ <li class="tight-form-item">Login</li>
|
|
|
|
|
+ <li><!-- <value-select-dropdown></value-select-dropdown> --></li>
|
|
|
|
|
+ <li class="tight-form-item">Role</li>
|
|
|
|
|
+ <li><!-- <value-select-dropdown></value-select-dropdown> --></li>
|
|
|
|
|
+ <li class="tight-form-item">
|
|
|
|
|
+ <a class="pointer">
|
|
|
|
|
+ <i class="fa fa-pencil"></i>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ <div class="clearfix"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <ul class="filter-controls-actions">
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <div class="dropdown">
|
|
|
|
|
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
|
|
|
|
+ <input class="cr1" id="state-enabled" type="checkbox">
|
|
|
|
|
+ <label for="state-enabled" class="cr1"></label> <span class="caret"></span>
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <ul class="dropdown-menu" role="menu">
|
|
|
|
|
+ <li><a>All</a></li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <div class="dropdown">
|
|
|
|
|
+ <button class="btn btn-inverse dropdown-toggle" data-toggle="dropdown">
|
|
|
|
|
+ Bulk Actions <span class="caret"></span>
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <ul class="dropdown-menu" role="menu">
|
|
|
|
|
+ <li><a>Update notifications</a></li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <span class="filter-controls-actions-selected">0 selected, showing 1 of 1 total</span>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+
|
|
|
|
|
+ <table class="filter-table form-inline">
|
|
|
|
|
+ <thead>
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <th>Login</th>
|
|
|
|
|
+ <th>Email</th>
|
|
|
|
|
+ <th>Role</th>
|
|
|
|
|
+ <th style="width: 34px;"></th>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </thead>
|
|
|
<tr ng-repeat="user in users">
|
|
<tr ng-repeat="user in users">
|
|
|
<td>{{user.login}}</td>
|
|
<td>{{user.login}}</td>
|
|
|
- <td>{{user.email}}</td>
|
|
|
|
|
|
|
+ <td><span class="ellipsis">{{user.email}}</span></td>
|
|
|
<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 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>
|
|
</select>
|
|
|
</td>
|
|
</td>
|
|
|
- <td style="width: 1%">
|
|
|
|
|
|
|
+ <td>
|
|
|
<a ng-click="removeUser(user)" class="btn btn-danger btn-mini">
|
|
<a ng-click="removeUser(user)" class="btn btn-danger btn-mini">
|
|
|
<i class="fa fa-remove"></i>
|
|
<i class="fa fa-remove"></i>
|
|
|
</a>
|
|
</a>
|