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
4531f39c
Commit
4531f39c
authored
Feb 24, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(settings_rows): move create new button to bottom of page
parent
3db11884
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
27 deletions
+21
-27
public/app/features/dashboard/partials/settings.html
+21
-27
No files found.
public/app/features/dashboard/partials/settings.html
View file @
4531f39c
...
@@ -56,34 +56,28 @@
...
@@ -56,34 +56,28 @@
</div>
</div>
<div
ng-if=
"editor.index == 1"
>
<div
ng-if=
"editor.index == 1"
>
<div
class=
"editor-row"
>
<h5
class=
"section-heading"
>
Rows settings
</h5>
<div
class=
"tight-form-section"
>
<h5>
Rows settings
</h5>
<div
class=
"gf-form-group"
>
<div
class=
"tight-form-container"
>
<div
class=
"gf-form-inline"
ng-repeat=
"row in dashboard.rows"
>
<div
class=
"tight-form"
ng-repeat=
"row in dashboard.rows"
>
<div
class=
"gf-form"
>
<ul
class=
"tight-form-list"
>
<span
class=
"gf-form-label"
>
Title
</span>
<li
class=
"tight-form-item"
>
<input
type=
"text"
class=
"gf-form-input max-width-14"
ng-model=
'row.title'
></input>
Title
<editor-checkbox
text=
"Show title"
model=
"row.showTitle"
></editor-checkbox>
</li>
<li>
<input
type=
"text"
class=
"input tight-form-input"
style=
"width: 400px;"
ng-model=
'row.title'
></input>
</li>
<li
class=
"tight-form-item"
>
<editor-checkbox
text=
"Show title"
model=
"row.showTitle"
></editor-checkbox>
</li>
<li
class=
"tight-form-item last"
>
<i
ng-click=
"_.move(dashboard.rows,$index,$index-1)"
ng-class=
"{'invisible': $first}"
class=
"pointer fa fa-arrow-up"
></i>
</li>
<li
class=
"tight-form-item last"
>
<i
ng-click=
"_.move(dashboard.rows,$index,$index+1)"
ng-class=
"{'invisible': $last}"
class=
"pointer fa fa-fw fa-arrow-down"
></i>
</li>
<li
class=
"tight-form-item last"
>
<i
ng-click=
"dashboard.rows = _.without(dashboard.rows,row)"
class=
"pointer fa fa-remove"
></i>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
</div>
<div
class=
"gf-form"
>
<button
class=
"btn btn-inverse btn-mini"
ng-hide=
"$first"
style=
"margin-right: 5px;"
>
<i
ng-click=
"_.move(dashboard.rows,$index,$index-1)"
ng-class=
"{'invisible': $first}"
class=
"fa fa-arrow-up"
></i>
</button>
<button
class=
"btn btn-inverse btn-mini"
ng-hide=
"$last"
style=
"margin-right: 5px;"
>
<i
ng-click=
"_.move(dashboard.rows,$index,$index+1)"
ng-class=
"{'invisible': $last}"
class=
"fa fa-arrow-down"
></i>
</button>
<button
class=
"btn btn-danger btn-mini"
style=
"margin-right: 5px;"
>
<i
ng-click=
"dashboard.rows = _.without(dashboard.rows,row)"
class=
"fa fa-remove"
></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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