Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
ed6d50d6
Commit
ed6d50d6
authored
Feb 07, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to profile page design
parent
b3a1bb20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
94 additions
and
87 deletions
+94
-87
src/app/features/profile/partials/profile.html
+76
-87
src/css/less/gfbox.less
+18
-0
No files found.
src/app/features/profile/partials/profile.html
View file @
ed6d50d6
...
...
@@ -5,102 +5,91 @@
show-menu-btn=
"!grafana.sidemenu"
>
</topnav>
<div
class=
"
admin-page
"
>
<
h2>
Personal information
</h2
>
<div
class=
"
page-container
"
>
<
div
class=
"page"
>
<div
class=
"gf-box"
>
<div
class=
"gf-box-body editor-row"
>
<div
class=
"section"
>
<form
name=
"userForm"
>
<div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 80px"
>
<strong>
Name
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.name"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
style=
"margin-top: 10px"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 80px"
>
<strong>
Email
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.email"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
style=
"margin-top: 10px"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 80px"
>
<strong>
Username
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.login"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
<h2>
Personal information
</h2>
<br>
<button
type=
"submit"
class=
"pull-right btn btn-success"
ng-click=
"update()"
>
Update
</button>
</form>
<form
name=
"userForm"
>
<div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 100px"
>
<strong>
Name
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.name"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
style=
"margin-top: 5px"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 100px"
>
<strong>
Email
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.email"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
style=
"margin-top: 5px"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 100px"
>
<strong>
Username
</strong>
</li>
<li>
<input
type=
"text"
required
ng-model=
"user.login"
class=
"input-xxlarge tight-form-input last"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
</div>
</div>
<h2>
Your accounts
</h2>
<br>
<button
type=
"submit"
class=
"pull-right btn btn-success"
ng-click=
"update()"
>
Update
</button>
</form>
<div
class=
"gf-box"
>
<div
class=
"gf-box-body"
>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"ac in accounts"
>
<td
style=
"width: 98%"
>
Name: {{ac.name}}
</td>
<td>
Role: {{ac.role}}
</td>
<td>
<span
class=
"btn btn-primary"
ng-show=
"ac.isUsing"
>
Current
</span>
<a
ng-click=
"setUsingAccount(ac)"
class=
"btn btn-inverse"
ng-show=
"!ac.isUsing"
>
Select
</a>
</td>
</tr>
</table>
</div>
</div>
<h2>
Your accounts
</h2>
<table
class=
"grafana-options-table"
>
<tr
ng-repeat=
"ac in accounts"
>
<td
style=
"width: 98%"
>
Name: {{ac.name}}
</td>
<td>
Role: {{ac.role}}
</td>
<td>
<span
class=
"btn btn-primary"
ng-show=
"ac.isUsing"
>
Current
</span>
<a
ng-click=
"setUsingAccount(ac)"
class=
"btn btn-inverse"
ng-show=
"!ac.isUsing"
>
Select
</a>
</td>
</tr>
</table>
<h2>
Add account
</h2>
<div
class=
"gf-box"
>
<div
class=
"gf-box-body editor-row"
>
<div
class=
"section"
>
<form
name=
"form"
>
<div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
<strong>
Account name
</strong>
</li>
<li>
<input
type=
"text"
ng-model=
"newAccount.name"
required
class=
"input-xxlarge tight-form-input last"
placeholder=
"account name"
>
</li>
<li>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
<br>
<button
class=
"btn btn-success pull-right"
ng-click=
"createAccount()"
>
Create
</button>
<h2
style=
"margin-top: 30px;"
>
Add account
</h2>
<form
name=
"form"
>
<div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 100px;"
>
<strong>
Account name
</strong>
</li>
<li>
<input
type=
"text"
ng-model=
"newAccount.name"
required
class=
"input-xxlarge tight-form-input last"
placeholder=
"account name"
>
</li>
<li>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
<br>
<button
class=
"btn btn-success pull-right"
ng-click=
"createAccount()"
>
Create
</button>
</form>
</div>
</div>
src/css/less/gfbox.less
View file @
ed6d50d6
...
...
@@ -59,6 +59,24 @@
}
}
.page-container {
margin: 15px;
background: @grafanaPanelBackground;
position: relative;
border: 1px solid @grayDark;
padding: 20px 20px 60px 49px;
h2 {
color: @textColor;
font-weight: normal;
font-size: 22px;
}
}
.page {
max-width: 653px;
}
.admin-page {
max-width: 800px;
margin-left: 10px;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment