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
6cf46b16
Commit
6cf46b16
authored
Oct 30, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring: more moving stuff around
parent
1665cb42
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
38 additions
and
49 deletions
+38
-49
public/app/components/require.config.js
+0
-1
public/app/core/directives/dash_upload.js
+2
-2
public/app/core/directives/misc.js
+2
-2
public/app/core/directives/ng_model_on_blur.js
+3
-3
public/app/core/time_series.js
+1
-1
public/app/core/utils/kbn.js
+0
-0
public/app/features/dashboard/dashboardLoaderSrv.js
+1
-1
public/app/features/dashboard/dashboardSrv.js
+1
-2
public/app/features/dashboard/graphiteImportCtrl.js
+1
-1
public/app/features/dashboard/playlistSrv.js
+1
-2
public/app/features/dashboard/timeSrv.js
+2
-2
public/app/features/dashboard/timepicker/timepicker.ts
+1
-1
public/app/features/panel/panel_helper.js
+4
-4
public/app/features/panellinks/linkSrv.js
+2
-2
public/app/features/templating/templateValuesSrv.js
+1
-1
public/app/headers/common.d.ts
+1
-1
public/app/panels/graph/graph.js
+2
-2
public/app/panels/graph/legend.js
+1
-2
public/app/panels/graph/module.js
+6
-7
public/app/panels/singlestat/module.js
+1
-1
public/app/plugins/datasource/elasticsearch/datasource.js
+1
-1
public/app/plugins/datasource/kairosdb/datasource.js
+1
-1
public/app/plugins/datasource/opentsdb/queryCtrl.js
+1
-1
public/app/plugins/datasource/sql/datasource.js
+0
-2
public/test/specs/helpers.js
+1
-2
public/test/specs/kbn-format-specs.js
+1
-1
public/test/test-main.js
+0
-3
No files found.
public/app/components/require.config.js
View file @
6cf46b16
...
...
@@ -3,7 +3,6 @@ require.config({
baseUrl
:
'public'
,
paths
:
{
kbn
:
'app/components/kbn'
,
'extend-jquery'
:
'app/components/extend-jquery'
,
lodash
:
'app/components/lodash.extended'
,
...
...
public/app/core/directives/dash_upload.js
View file @
6cf46b16
define
([
'kbn'
,
'../core_module'
,
'app/core/utils/kbn'
,
],
function
(
kbn
,
coreModule
)
{
function
(
coreModule
,
kbn
)
{
'use strict'
;
coreModule
.
directive
(
'dashUpload'
,
function
(
timer
,
alertSrv
,
$location
)
{
...
...
public/app/core/directives/misc.js
View file @
6cf46b16
define
([
'angular'
,
'kbn'
,
'../core_module'
,
'app/core/utils/kbn'
,
],
function
(
angular
,
kbn
,
coreModule
)
{
function
(
angular
,
coreModule
,
kbn
)
{
'use strict'
;
coreModule
.
directive
(
'tip'
,
function
(
$compile
)
{
...
...
public/app/core/directives/ng_model_on_blur.js
View file @
6cf46b16
define
([
'
kbn
'
,
'app/core/
core_module
'
,
'
../core_module
'
,
'app/core/
utils/kbn
'
,
'app/core/utils/rangeutil'
,
],
function
(
kbn
,
coreModule
,
rangeUtil
)
{
function
(
coreModule
,
kbn
,
rangeUtil
)
{
'use strict'
;
coreModule
.
directive
(
'ngModelOnblur'
,
function
()
{
...
...
public/app/core/time_series.js
View file @
6cf46b16
define
([
'lodash'
,
'kbn'
'
app/core/utils/
kbn'
],
function
(
_
,
kbn
)
{
'use strict'
;
...
...
public/app/co
mponent
s/kbn.js
→
public/app/co
re/util
s/kbn.js
View file @
6cf46b16
File moved
public/app/features/dashboard/dashboardLoaderSrv.js
View file @
6cf46b16
...
...
@@ -3,7 +3,7 @@ define([
'moment'
,
'lodash'
,
'jquery'
,
'kbn'
,
'
app/core/utils/
kbn'
,
'app/core/utils/datemath'
,
],
function
(
angular
,
moment
,
_
,
$
,
kbn
,
dateMath
)
{
...
...
public/app/features/dashboard/dashboardSrv.js
View file @
6cf46b16
define
([
'angular'
,
'jquery'
,
'kbn'
,
'lodash'
,
'moment'
,
],
function
(
angular
,
$
,
kbn
,
_
,
moment
)
{
function
(
angular
,
$
,
_
,
moment
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.services'
);
...
...
public/app/features/dashboard/graphiteImportCtrl.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
'
app/core/utils/
kbn'
],
function
(
angular
,
_
,
kbn
)
{
'use strict'
;
...
...
public/app/features/dashboard/playlistSrv.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
,
'app/core/store'
'app/core/utils/kbn'
,
],
function
(
angular
,
_
,
kbn
)
{
'use strict'
;
...
...
public/app/features/dashboard/timeSrv.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
,
'moment'
,
'app/core/config'
,
'app/core/utils/kbn'
,
'app/core/utils/datemath'
],
function
(
angular
,
_
,
kbn
,
moment
,
config
,
dateMath
)
{
],
function
(
angular
,
_
,
moment
,
config
,
kbn
,
dateMath
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.services'
);
...
...
public/app/features/dashboard/timepicker/timepicker.ts
View file @
6cf46b16
...
...
@@ -4,7 +4,7 @@
import
angular
=
require
(
'angular'
);
import
_
=
require
(
'lodash'
);
import
moment
=
require
(
'moment'
);
import
kbn
=
require
(
'kbn'
);
import
kbn
=
require
(
'
app/core/utils/
kbn'
);
import
dateMath
=
require
(
'app/core/utils/datemath'
);
import
rangeUtil
=
require
(
'app/core/utils/rangeutil'
);
...
...
public/app/features/panel/panel_helper.js
View file @
6cf46b16
define
([
'angular'
,
'app/core/utils/datemath'
,
'app/core/utils/rangeutil'
,
'lodash'
,
'kbn'
,
'jquery'
,
'app/core/utils/kbn'
,
'app/core/utils/datemath'
,
'app/core/utils/rangeutil'
,
],
function
(
angular
,
dateMath
,
rangeUtil
,
_
,
kbn
,
$
)
{
function
(
angular
,
_
,
$
,
kbn
,
dateMath
,
rangeUtil
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.services'
);
...
...
public/app/features/panellinks/linkSrv.js
View file @
6cf46b16
define
([
'angular'
,
'kbn'
,
'lodash'
,
'app/core/utils/kbn'
,
],
function
(
angular
,
kbn
,
_
)
{
function
(
angular
,
_
,
kbn
)
{
'use strict'
;
angular
...
...
public/app/features/templating/templateValuesSrv.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
,
'
app/core/utils/
kbn'
,
],
function
(
angular
,
_
,
kbn
)
{
'use strict'
;
...
...
public/app/headers/common.d.ts
View file @
6cf46b16
...
...
@@ -9,7 +9,7 @@ declare module 'app/core/config' {
export
=
config
;
}
declare
module
'kbn'
{
declare
module
'
app/core/utils/
kbn'
{
var
kbn
:
any
;
export
=
kbn
;
}
...
...
public/app/panels/graph/graph.js
View file @
6cf46b16
define
([
'angular'
,
'jquery'
,
'kbn'
,
'moment'
,
'lodash'
,
'app/core/utils/kbn'
,
'./graph.tooltip'
,
'jquery.flot'
,
'jquery.flot.events'
,
...
...
@@ -14,7 +14,7 @@ define([
'jquery.flot.fillbelow'
,
'jquery.flot.crosshair'
],
function
(
angular
,
$
,
kbn
,
moment
,
_
,
GraphTooltip
)
{
function
(
angular
,
$
,
moment
,
_
,
kbn
,
GraphTooltip
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.directives'
);
...
...
public/app/panels/graph/legend.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
,
'jquery'
,
'jquery.flot'
,
'jquery.flot.time'
,
],
function
(
angular
,
_
,
kbn
,
$
)
{
function
(
angular
,
_
,
$
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.graph'
);
...
...
public/app/panels/graph/module.js
View file @
6cf46b16
define
([
'angular'
,
'jquery'
,
'lodash'
,
'kbn'
,
'moment'
,
'app/core/utils/kbn'
,
'app/core/time_series'
,
'app/features/panel/panel_meta'
,
'./seriesOverridesCtrl'
,
'./graph'
,
'./legend'
,
],
function
(
angular
,
$
,
_
,
kbn
,
moment
,
TimeSeries
,
PanelMeta
)
{
function
(
angular
,
_
,
moment
,
kbn
,
TimeSeries
,
PanelMeta
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.graph'
);
...
...
@@ -42,9 +41,9 @@ function (angular, $, _, kbn, moment, TimeSeries, PanelMeta) {
var
_d
=
{
// datasource name, null = default datasource
datasource
:
null
,
// sets client side (flot) or native graphite png renderer (png)
// sets client side (flot) or native graphite png renderer (png)
renderer
:
'flot'
,
// Show/hide the x-axis
// Show/hide the x-axis
'x-axis'
:
true
,
// Show/hide y-axis
'y-axis'
:
true
,
...
...
@@ -179,8 +178,8 @@ function (angular, $, _, kbn, moment, TimeSeries, PanelMeta) {
var
series
=
new
TimeSeries
({
datapoints
:
datapoints
,
alias
:
alias
,
color
:
color
,
alias
:
alias
,
color
:
color
,
});
if
(
datapoints
&&
datapoints
.
length
>
0
)
{
...
...
public/app/panels/singlestat/module.js
View file @
6cf46b16
...
...
@@ -2,7 +2,7 @@ define([
'angular'
,
'app/app'
,
'lodash'
,
'kbn'
,
'
app/core/utils/
kbn'
,
'app/core/time_series'
,
'app/features/panel/panel_meta'
,
'./singleStatPanel'
,
...
...
public/app/plugins/datasource/elasticsearch/datasource.js
View file @
6cf46b16
...
...
@@ -2,7 +2,7 @@ define([
'angular'
,
'lodash'
,
'moment'
,
'kbn'
,
'
app/core/utils/
kbn'
,
'./query_builder'
,
'./index_pattern'
,
'./elastic_response'
,
...
...
public/app/plugins/datasource/kairosdb/datasource.js
View file @
6cf46b16
...
...
@@ -2,7 +2,7 @@ define([
'angular'
,
'lodash'
,
'app/core/utils/datemath'
,
'kbn'
,
'
app/core/utils/
kbn'
,
'./queryCtrl'
,
'./directives'
,
],
...
...
public/app/plugins/datasource/opentsdb/queryCtrl.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
'
app/core/utils/
kbn'
],
function
(
angular
,
_
,
kbn
)
{
'use strict'
;
...
...
public/app/plugins/datasource/sql/datasource.js
View file @
6cf46b16
define
([
'angular'
,
'lodash'
,
'kbn'
,
],
function
(
angular
)
{
'use strict'
;
...
...
public/test/specs/helpers.js
View file @
6cf46b16
define
([
'kbn'
,
'lodash'
,
'app/core/utils/datemath'
,
],
function
(
kbn
,
_
,
dateMath
)
{
],
function
(
_
,
dateMath
)
{
'use strict'
;
function
ControllerTestContext
()
{
...
...
public/test/specs/kbn-format-specs.js
View file @
6cf46b16
define
([
'kbn'
,
'
app/core/utils/
kbn'
,
'app/core/utils/datemath'
],
function
(
kbn
,
dateMath
)
{
'use strict'
;
...
...
public/test/test-main.js
View file @
6cf46b16
...
...
@@ -2,9 +2,6 @@ require.config({
baseUrl
:
'http://localhost:9876/base/'
,
paths
:
{
kbn
:
'app/components/kbn'
,
settings
:
'app/components/settings'
,
lodash
:
'app/components/lodash.extended'
,
'lodash-src'
:
'vendor/lodash'
,
...
...
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