|
@@ -1,4 +1,4 @@
|
|
|
-<topnav title="{{contextSrv.user.name}}" section="Profile" icon="fa fw fa-user" subnav="true">
|
|
|
|
|
|
|
+<topnav title="{{contextSrv.user.name}}" section="Profile" icon="fa fa-fw fa-user" subnav="true">
|
|
|
<ul class="nav">
|
|
<ul class="nav">
|
|
|
<li class="active"><a href="profile">Overview</a></li>
|
|
<li class="active"><a href="profile">Overview</a></li>
|
|
|
<li><a href="profile/password">Change password</a></li>
|
|
<li><a href="profile/password">Change password</a></li>
|
|
@@ -8,14 +8,14 @@
|
|
|
<div class="page-container">
|
|
<div class="page-container">
|
|
|
<div class="page">
|
|
<div class="page">
|
|
|
|
|
|
|
|
- <h2>Personal information</h2>
|
|
|
|
|
|
|
+ <h2>Profile details</h2>
|
|
|
|
|
|
|
|
<form name="userForm">
|
|
<form name="userForm">
|
|
|
<div>
|
|
<div>
|
|
|
<div class="tight-form">
|
|
<div class="tight-form">
|
|
|
<ul class="tight-form-list">
|
|
<ul class="tight-form-list">
|
|
|
<li class="tight-form-item" style="width: 100px">
|
|
<li class="tight-form-item" style="width: 100px">
|
|
|
- <strong>Name</strong>
|
|
|
|
|
|
|
+ Name
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
<input type="text" required ng-model="user.name" class="input-xxlarge tight-form-input last" >
|
|
<input type="text" required ng-model="user.name" class="input-xxlarge tight-form-input last" >
|
|
@@ -23,10 +23,10 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="tight-form" style="margin-top: 5px">
|
|
|
|
|
|
|
+ <div class="tight-form">
|
|
|
<ul class="tight-form-list">
|
|
<ul class="tight-form-list">
|
|
|
<li class="tight-form-item" style="width: 100px">
|
|
<li class="tight-form-item" style="width: 100px">
|
|
|
- <strong>Email</strong>
|
|
|
|
|
|
|
+ Email
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
<input type="email" required ng-model="user.email" class="input-xxlarge tight-form-input last" >
|
|
<input type="email" required ng-model="user.email" class="input-xxlarge tight-form-input last" >
|
|
@@ -34,10 +34,10 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="tight-form" style="margin-top: 5px">
|
|
|
|
|
|
|
+ <div class="tight-form">
|
|
|
<ul class="tight-form-list">
|
|
<ul class="tight-form-list">
|
|
|
<li class="tight-form-item" style="width: 100px">
|
|
<li class="tight-form-item" style="width: 100px">
|
|
|
- <strong>Username</strong>
|
|
|
|
|
|
|
+ Username
|
|
|
</li>
|
|
</li>
|
|
|
<li>
|
|
<li>
|
|
|
<input type="text" required ng-model="user.login" class="input-xxlarge tight-form-input last" >
|
|
<input type="text" required ng-model="user.login" class="input-xxlarge tight-form-input last" >
|
|
@@ -45,23 +45,36 @@
|
|
|
</ul>
|
|
</ul>
|
|
|
<div class="clearfix"></div>
|
|
<div class="clearfix"></div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="tight-form">
|
|
|
|
|
+ <ul class="tight-form-list">
|
|
|
|
|
+ <li class="tight-form-item" style="width: 100px">
|
|
|
|
|
+ UI Theme
|
|
|
|
|
+ </li>
|
|
|
|
|
+ <li>
|
|
|
|
|
+ <select class="input-small tight-form-input" ng-model="user.theme" ng-options="f for f in ['dark', 'light']" ng-change="themeChanged()"></select>
|
|
|
|
|
+ </li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ <div class="clearfix"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
<br>
|
|
|
<button type="submit" class="pull-right btn btn-success" ng-click="update()">Update</button>
|
|
<button type="submit" class="pull-right btn btn-success" ng-click="update()">Update</button>
|
|
|
</form>
|
|
</form>
|
|
|
|
|
|
|
|
- <h2>Your Organizations</h2>
|
|
|
|
|
|
|
+ <h2>Organizations</h2>
|
|
|
|
|
|
|
|
<table class="grafana-options-table">
|
|
<table class="grafana-options-table">
|
|
|
<tr ng-repeat="org in orgs">
|
|
<tr ng-repeat="org in orgs">
|
|
|
<td style="width: 98%"><strong>Name: </strong> {{org.name}}</td>
|
|
<td style="width: 98%"><strong>Name: </strong> {{org.name}}</td>
|
|
|
<td><strong>Role: </strong> {{org.role}}</td>
|
|
<td><strong>Role: </strong> {{org.role}}</td>
|
|
|
<td class="nobg max-width-btns">
|
|
<td class="nobg max-width-btns">
|
|
|
- <span class="btn btn-primary" ng-show="org.isUsing">
|
|
|
|
|
|
|
+ <span class="btn btn-primary btn-mini" ng-show="org.isUsing">
|
|
|
Current
|
|
Current
|
|
|
</span>
|
|
</span>
|
|
|
- <a ng-click="setUsingOrg(org)" class="btn btn-inverse" ng-show="!org.isUsing">
|
|
|
|
|
|
|
+ <a ng-click="setUsingOrg(org)" class="btn btn-inverse btn-mini" ng-show="!org.isUsing">
|
|
|
Select
|
|
Select
|
|
|
</a>
|
|
</a>
|
|
|
</td>
|
|
</td>
|