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
4a2c405a
Commit
4a2c405a
authored
May 20, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: metris tab, moved data source selector
parent
499e01d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
20 deletions
+14
-20
public/app/features/panel/partials/metrics.html
+0
-1
public/app/features/panel/partials/metrics_tab.html
+14
-19
No files found.
public/app/features/panel/partials/metrics.html
deleted
100644 → 0
View file @
499e01d8
<metrics-tab
panel-ctrl=
"ctrl"
></metrics-tab>
public/app/features/panel/partials/metrics_tab.html
View file @
4a2c405a
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label"
>
Data Source
</label>
<metric-segment
segment=
"ctrl.dsSegment"
get-options=
"ctrl.getOptions(true)"
on-change=
"ctrl.datasourceChanged()"
></metric-segment>
</div>
</div>
</div>
<div
class=
"query-editor-rows gf-form-group"
>
<div
ng-repeat=
"target in ctrl.panel.targets"
ng-class=
"{'gf-form-disabled': target.hide}"
>
<rebuild-on-change
property=
"ctrl.panel.datasource || target.datasource"
show-null=
"true"
>
...
...
@@ -41,16 +27,25 @@
<query-troubleshooter
panel-ctrl=
"ctrl.panelCtrl"
></query-troubleshooter>
<collapse-box
title=
"
Advanced Options & Data source help
"
>
<collapse-box
title=
"
Data Source Options
"
>
<collapse-box-body>
<div
class=
"gf-form-group"
>
<rebuild-on-change
property=
"ctrl.panel.datasource"
show-null=
"true"
>
<plugin-component
type=
"query-options-ctrl"
>
</plugin-component>
</rebuild-on-change>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label"
>
Panel Data Source
</label>
<metric-segment
segment=
"ctrl.dsSegment"
get-options=
"ctrl.getOptions(true)"
on-change=
"ctrl.datasourceChanged()"
></metric-segment>
</div>
</div>
</div>
<rebuild-on-change
property=
"ctrl.panel.datasource"
show-null=
"true"
>
<plugin-component
type=
"query-options-ctrl"
>
</plugin-component>
</rebuild-on-change>
</collapse-box-body>
</collapse-box>
...
...
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