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
b42064ac
Commit
b42064ac
authored
May 02, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(singlestat): fixes indentation
parent
7e220b2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
45 deletions
+45
-45
public/app/plugins/panel/singlestat/mappings.html
+45
-45
No files found.
public/app/plugins/panel/singlestat/mappings.html
View file @
b42064ac
<div
class=
"editor-row"
>
<div
class=
"section tight-form-container"
style=
"margin-bottom: 20px"
>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
Type
</li>
<li>
<select
class=
"input-medium tight-form-input"
ng-model=
"ctrl.panel.mappingType"
ng-options=
"f.value as f.name for f in ctrl.panel.mappingTypes"
ng-change=
"ctrl.render()"
></select>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"section tight-form-container"
style=
"margin-bottom: 20px"
>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
Type
</li>
<li>
<select
class=
"input-medium tight-form-input"
ng-model=
"ctrl.panel.mappingType"
ng-options=
"f.value as f.name for f in ctrl.panel.mappingTypes"
ng-change=
"ctrl.render()"
></select>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
</div>
<div
class=
"editor-row"
ng-if=
"ctrl.panel.mappingType==1"
>
...
...
@@ -46,39 +46,39 @@
</div>
</div>
<div
class=
"editor-row"
ng-if=
"ctrl.panel.mappingType==2"
>
<h5>
Set range mappings
</h5>
<div
class=
"section gf-form-group"
>
<div
class=
"tight-form-container"
>
<div
class=
"tight-form"
ng-repeat=
"rangeMap in ctrl.panel.rangeMaps"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
<i
class=
"fa fa-remove pointer"
ng-click=
"ctrl.removeRangeMap(rangeMap)"
></i>
</li>
<li
class=
"tight-form-item"
>
From
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.from"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
<h5>
Set range mappings
</h5>
<div
class=
"section gf-form-group"
>
<div
class=
"tight-form-container"
>
<div
class=
"tight-form"
ng-repeat=
"rangeMap in ctrl.panel.rangeMaps"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
>
<i
class=
"fa fa-remove pointer"
ng-click=
"ctrl.removeRangeMap(rangeMap)"
></i>
</li>
<li
class=
"tight-form-item"
>
To
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.to
"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
From
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.from
"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
<li
class=
"tight-form-item"
>
Text
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.text"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
To
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.to"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
<li
class=
"tight-form-item"
>
Text
</li>
<li>
<input
type=
"text"
ng-model=
"rangeMap.text"
class=
"input-mini tight-form-input"
ng-blur=
"ctrl.render()"
>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
<button
class=
"btn btn-inverse"
style=
"margin-top: 20px"
ng-click=
"ctrl.addRangeMap()"
>
Add a range mapping
</button>
</div>
<button
class=
"btn btn-inverse"
style=
"margin-top: 20px"
ng-click=
"ctrl.addRangeMap()"
>
Add a range mapping
</button>
</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