mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
59 lines
1.4 KiB
HTML
59 lines
1.4 KiB
HTML
<navbar icon="fa fa-fw fa-cogs" title="Admin" title-url="admin">
|
|
<nav-button title="Orgs" title-url="admin/orgs" icon="icon-gf icon-gf-users"></nav-button>
|
|
</navbar>
|
|
|
|
<div class="page-container">
|
|
<div class="page-header">
|
|
<h1>
|
|
Edit Organization
|
|
</h1>
|
|
</div>
|
|
|
|
<form name="orgDetailsForm">
|
|
<div>
|
|
<div class="tight-form">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 100px">
|
|
Name
|
|
</li>
|
|
<li>
|
|
<input type="text" required ng-model="org.name" class="input-xxlarge tight-form-input last" >
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<br>
|
|
<button type="submit" class="pull-right btn btn-success" ng-click="update()" ng-show="!createMode">Update</button>
|
|
</form>
|
|
|
|
<h3>
|
|
Organization Users
|
|
</h3>
|
|
|
|
<table class="grafana-options-table form-inline">
|
|
<tr>
|
|
<th>Username</th>
|
|
<th>Email</th>
|
|
<th>Role</th>
|
|
<th></th>
|
|
</tr>
|
|
<tr ng-repeat="orgUser in orgUsers">
|
|
<td>{{orgUser.login}}</td>
|
|
<td>{{orgUser.email}}</td>
|
|
<td>
|
|
<select type="text" ng-model="orgUser.role" class="input-small" ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']" ng-change="updateOrgUser(orgUser)">
|
|
</select>
|
|
</td>
|
|
<td style="width: 1%">
|
|
<a ng-click="removeOrgUser(orgUser)" class="btn btn-danger btn-mini">
|
|
<i class="fa fa-remove"></i>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|