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
80112953
Commit
80112953
authored
Feb 05, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(plugins): base clases are now in app/plugins/sdk
parent
23fa5fa1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
19 additions
and
23 deletions
+19
-23
public/app/plugins/datasource/cloudwatch/query_ctrl.ts
+1
-1
public/app/plugins/datasource/elasticsearch/query_ctrl.ts
+1
-1
public/app/plugins/datasource/grafana/module.ts
+1
-1
public/app/plugins/datasource/graphite/query_ctrl.ts
+1
-1
public/app/plugins/datasource/influxdb/query_ctrl.ts
+1
-1
public/app/plugins/datasource/opentsdb/query_ctrl.ts
+1
-1
public/app/plugins/datasource/prometheus/query_ctrl.ts
+1
-1
public/app/plugins/panel/dashlist/module.ts
+1
-1
public/app/plugins/panel/graph/module.ts
+3
-3
public/app/plugins/panel/singlestat/module.ts
+2
-2
public/app/plugins/panel/table/module.ts
+1
-1
public/app/plugins/panel/text/module.ts
+1
-1
public/app/plugins/panel/unknown/module.ts
+1
-1
public/app/plugins/sdk.ts
+3
-7
No files found.
public/app/plugins/datasource/cloudwatch/query_ctrl.ts
View file @
80112953
...
...
@@ -2,7 +2,7 @@
import
'./query_parameter_ctrl'
;
import
_
from
'lodash'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
export
class
CloudWatchQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/cloudwatch/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/elasticsearch/query_ctrl.ts
View file @
80112953
...
...
@@ -5,7 +5,7 @@ import './metric_agg';
import
angular
from
'angular'
;
import
_
from
'lodash'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
export
class
ElasticQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/elasticsearch/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/grafana/module.ts
View file @
80112953
...
...
@@ -2,7 +2,7 @@
import
angular
from
'angular'
;
import
{
GrafanaDatasource
}
from
'./datasource'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
class
GrafanaQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/grafana/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/graphite/query_ctrl.ts
View file @
80112953
...
...
@@ -8,7 +8,7 @@ import _ from 'lodash';
import
moment
from
'moment'
;
import
gfunc
from
'./gfunc'
;
import
{
Parser
}
from
'./parser'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
export
class
GraphiteQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/graphite/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/influxdb/query_ctrl.ts
View file @
80112953
...
...
@@ -8,7 +8,7 @@ import _ from 'lodash';
import
InfluxQueryBuilder
from
'./query_builder'
;
import
InfluxQuery
from
'./influx_query'
;
import
queryPart
from
'./query_part'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
export
class
InfluxQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/influxdb/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/opentsdb/query_ctrl.ts
View file @
80112953
...
...
@@ -2,7 +2,7 @@
import
_
from
'lodash'
;
import
kbn
from
'app/core/utils/kbn'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
export
class
OpenTsQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/opentsdb/partials/query.editor.html'
;
...
...
public/app/plugins/datasource/prometheus/query_ctrl.ts
View file @
80112953
...
...
@@ -5,7 +5,7 @@ import _ from 'lodash';
import
moment
from
'moment'
;
import
*
as
dateMath
from
'app/core/utils/datemath'
;
import
{
QueryCtrl
}
from
'app/
features/panel/panel
'
;
import
{
QueryCtrl
}
from
'app/
plugins/sdk
'
;
class
PrometheusQueryCtrl
extends
QueryCtrl
{
static
templateUrl
=
'public/app/plugins/datasource/prometheus/partials/query.editor.html'
;
...
...
public/app/plugins/panel/dashlist/module.ts
View file @
80112953
...
...
@@ -2,7 +2,7 @@
import
_
from
'lodash'
;
import
config
from
'app/core/config'
;
import
{
PanelCtrl
}
from
'
../../../features/panel/panel
'
;
import
{
PanelCtrl
}
from
'
app/plugins/sdk
'
;
// Set and populate defaults
var
panelDefaults
=
{
...
...
public/app/plugins/panel/graph/module.ts
View file @
80112953
...
...
@@ -7,9 +7,9 @@ import './seriesOverridesCtrl';
import
moment
from
'moment'
;
import
kbn
from
'app/core/utils/kbn'
;
import
_
from
'lodash'
;
import
TimeSeries
from
'
../../..
/core/time_series2'
;
import
*
as
fileExport
from
'
../../..
/core/utils/file_export'
;
import
{
MetricsPanelCtrl
}
from
'
../../../features/panel/panel
'
;
import
TimeSeries
from
'
app
/core/time_series2'
;
import
*
as
fileExport
from
'
app
/core/utils/file_export'
;
import
{
MetricsPanelCtrl
}
from
'
app/plugins/sdk
'
;
var
panelDefaults
=
{
// datasource name, null = default datasource
...
...
public/app/plugins/panel/singlestat/module.ts
View file @
80112953
...
...
@@ -6,8 +6,8 @@ import $ from 'jquery';
import
'jquery.flot'
;
import
kbn
from
'app/core/utils/kbn'
;
import
TimeSeries
from
'
../../..
/core/time_series2'
;
import
{
MetricsPanelCtrl
}
from
'
../../../features/panel/panel
'
;
import
TimeSeries
from
'
app
/core/time_series2'
;
import
{
MetricsPanelCtrl
}
from
'
app/plugins/sdk
'
;
// Set and populate defaults
var
panelDefaults
=
{
...
...
public/app/plugins/panel/table/module.ts
View file @
80112953
...
...
@@ -5,7 +5,7 @@ import _ from 'lodash';
import
$
from
'jquery'
;
import
moment
from
'moment'
;
import
*
as
FileExport
from
'app/core/utils/file_export'
;
import
{
MetricsPanelCtrl
}
from
'
../../../features/panel/panel
'
;
import
{
MetricsPanelCtrl
}
from
'
app/plugins/sdk
'
;
import
{
transformDataToTable
}
from
'./transformers'
;
import
{
tablePanelEditor
}
from
'./editor'
;
import
{
TableRenderer
}
from
'./renderer'
;
...
...
public/app/plugins/panel/text/module.ts
View file @
80112953
///<reference path="../../../headers/common.d.ts" />
import
_
from
'lodash'
;
import
{
PanelCtrl
}
from
'app/
features/panel/panel
'
;
import
{
PanelCtrl
}
from
'app/
plugins/sdk
'
;
// Set and populate defaults
var
panelDefaults
=
{
...
...
public/app/plugins/panel/unknown/module.ts
View file @
80112953
///<reference path="../../../headers/common.d.ts" />
import
{
PanelCtrl
}
from
'
../../../features/panel/panel
'
;
import
{
PanelCtrl
}
from
'
app/plugins/sdk
'
;
export
class
UnknownPanelCtrl
extends
PanelCtrl
{
static
templateUrl
=
'public/app/plugins/panel/unknown/module.html'
;
...
...
public/app/
features/panel/panel
.ts
→
public/app/
plugins/sdk
.ts
View file @
80112953
///<reference path="../../headers/common.d.ts" />
import
config
from
'app/core/config'
;
import
{
PanelCtrl
}
from
'./panel_ctrl'
;
import
{
MetricsPanelCtrl
}
from
'./metrics_panel_ctrl'
;
import
{
QueryCtrl
}
from
'./query_ctrl'
;
import
{
PanelCtrl
}
from
'app/features/panel/panel_ctrl'
;
import
{
MetricsPanelCtrl
}
from
'app/features/panel/metrics_panel_ctrl'
;
import
{
QueryCtrl
}
from
'app/features/panel/query_ctrl'
;
export
{
PanelCtrl
,
...
...
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