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
5d579310
Commit
5d579310
authored
Apr 25, 2015
by
Masaori Koshiba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix appearance of query editor
parent
0a23a996
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
51 deletions
+53
-51
public/app/plugins/datasource/kairosdb/partials/query.editor.html
+53
-51
No files found.
public/app/plugins/datasource/kairosdb/partials/query.editor.html
View file @
5d579310
...
...
@@ -7,40 +7,21 @@
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list pull-right"
>
<li>
<a
bs-tooltip=
"'Group by\'s are always executed before aggregations!'"
ng-click=
"alert('Group by\'s are always executed before aggregations!')"
>
<i
class=
"fa fa-info-circle"
></i>
</a>
</li>
<li
class=
"dropdown"
>
<a
class=
"pointer dropdown-toggle"
data-toggle=
"dropdown"
tabindex=
"1"
>
<i
class=
"fa fa-cog"
></i>
</a>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<li
role=
"menuitem"
>
<a
tabindex=
"1"
ng-click=
"duplicate()"
>
Duplicate
</a>
</li>
<li
role=
"menuitem"
>
<a
tabindex=
"1"
ng-click=
"moveMetricQuery($index, $index-1)"
>
Move up
</a>
</li>
<li
role=
"menuitem"
>
<a
tabindex=
"1"
ng-click=
"moveMetricQuery($index, $index+1)"
>
Move down
</a>
</li>
</ul>
</li>
<li>
<li
class=
"tight-form-item"
>
<div
class=
"dropdown"
>
<a
class=
"pointer dropdown-toggle"
data-toggle=
"dropdown"
tabindex=
"1"
>
<i
class=
"fa fa-bars"
></i>
</a>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"duplicate()"
>
Duplicate
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"moveMetricQuery($index, $index-1)"
>
Move up
</a></li>
<li
role=
"menuitem"
><a
tabindex=
"1"
ng-click=
"moveMetricQuery($index, $index+1)"
>
Move down
</a></li>
</ul>
</div>
</li>
<li
class=
"tight-form-item last"
>
<a
class=
"pointer"
tabindex=
"1"
ng-click=
"removeDataQuery(target)"
>
<i
class=
"fa fa-remove"
></i>
</a>
...
...
@@ -50,12 +31,11 @@
<ul
class=
"tight-form-list"
>
<li>
<a
class=
"tight-form-item"
ng-click=
"target.hide = !target.hide; targetBlur();"
role=
"menuitem"
>
<i
class=
"fa fa-
fw fa-
eye"
></i>
<i
class=
"fa fa-eye"
></i>
</a>
</li>
<li>
<input
type=
"text"
class=
"input-medium tight-form-input"
ng-model=
"target.alias"
spellcheck=
'false'
placeholder=
"alias"
ng-blur=
"targetBlur()"
>
<li
class=
"tight-form-item"
>
Metric
</li>
<li>
<select
style=
"width: 20em"
...
...
@@ -72,7 +52,13 @@
<i
class=
"fa fa-warning"
></i>
</a>
</li>
<li
class=
"tight-form-item"
>
Alias
</li>
<li>
<input
type=
"text"
class=
"input-medium tight-form-input"
ng-model=
"target.alias"
spellcheck=
'false'
placeholder=
"alias"
ng-blur=
"targetBlur()"
>
</li>
<li
class=
"tight-form-item"
>
Peak filter
<input
class=
"input-medium"
type=
"checkbox"
ng-model=
"target.exOuter"
ng-change=
"targetBlur()"
>
...
...
@@ -82,15 +68,14 @@
<div
class=
"clearfix"
></div>
</div>
<!-- TAGS -->
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
role=
"menu"
>
<li
class=
"tight-form-item"
style=
"min-width: 15px; text-align: center"
>
</li>
<li>
<i
class=
"fa fa-fw fa-eye invisible"
></i>
<li
class=
"tight-form-item"
>
<i
class=
"fa fa-eye invisible"
></i>
</li>
<li
class=
"tight-form-item"
>
Filter by Tag:
Tags
</li>
<li
ng-repeat=
"(key, value) in target.tags track by $index"
class=
"tight-form-item"
>
{{key}}
=
{{value}}
...
...
@@ -132,14 +117,23 @@
<li
class=
"tight-form-item"
ng-show=
"addFilterTagMode"
>
<a
ng-click=
"addFilterTag()"
>
<i
ng-show=
"target.errors.tags"
class=
"fa fa-remove"
></i>
<i
ng-hide=
"target.errors.tags"
class=
"fa fa-plus"
></i>
<i
ng-hide=
"target.errors.tags"
class=
"fa fa-plus
-circle
"
></i>
</a>
</li>
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<!-- TAGS GROUP BYS -->
<!-- GROUP BY -->
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
role=
"menu"
>
<li
class=
"tight-form-item"
>
Group by
<i
class=
"fa fa-eye invisible"
></i>
</li>
<li
class=
"tight-form-item"
>
Group By
</li>
<li
class=
"tight-form-item"
ng-show=
"target.groupByTags"
>
...
...
@@ -236,13 +230,21 @@
<li
class=
"tight-form-item"
ng-show=
"addGroupByMode"
>
<a
ng-click=
"addGroupBy()"
>
<i
ng-hide=
"isGroupByValid"
class=
"fa fa-remove"
></i>
<i
ng-show=
"isGroupByValid"
class=
"fa fa-plus"
></i>
<i
ng-show=
"isGroupByValid"
class=
"fa fa-plus
-circle
"
></i>
</a>
</li>
<div
class=
"clearfix"
></div>
</div>
<!-- HORIZONTAL AGGREGATION -->
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
role=
"menu"
>
<li
class=
"tight-form-item"
>
<i
class=
"fa fa-eye invisible"
></i>
</li>
<!-- HORIZONTAL AGGREGATION -->
<li
class=
"tight-form-item"
>
Aggregat
ion:
Aggregat
ors
</li>
<li
ng-repeat=
"aggregatorObject in target.horizontalAggregators track by $index"
class=
"tight-form-item"
>
{{aggregatorObject.name}}
(
...
...
@@ -333,7 +335,7 @@
<li
class=
"tight-form-item"
ng-show=
"addHorizontalAggregatorMode"
>
<a
ng-click=
"addHorizontalAggregator()"
>
<i
ng-hide=
"isAggregatorValid"
class=
"fa fa-remove"
></i>
<i
ng-show=
"isAggregatorValid"
class=
"fa fa-plus"
></i>
<i
ng-show=
"isAggregatorValid"
class=
"fa fa-plus
-circle
"
></i>
</a>
</li>
</ul>
...
...
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