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
0dd7fb73
Commit
0dd7fb73
authored
Dec 18, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(systemjs): most things work
parent
d34ba416
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
24 additions
and
9 deletions
+24
-9
public/app/app.js
+7
-0
public/app/app2.ts
+0
-0
public/app/core/time_series.js
+7
-0
public/app/core/time_series2.ts
+0
-0
public/app/features/panel/panel_directive.js
+1
-0
public/app/grafana_app.ts
+1
-0
public/app/plugins/datasource/graphite/datasource.js
+0
-1
public/app/plugins/datasource/influxdb/influx_series.js
+1
-1
public/app/plugins/panels/dashlist/module.js
+1
-1
public/app/plugins/panels/graph/seriesOverridesCtrl.js
+1
-1
public/app/plugins/panels/singlestat/module.js
+1
-1
public/app/plugins/panels/singlestat/singleStatPanel.js
+1
-1
public/app/plugins/panels/table/transformers.ts
+1
-1
public/app/plugins/panels/text/module.js
+1
-1
public/views/index.html
+1
-1
No files found.
public/app/app.js
0 → 100644
View file @
0dd7fb73
define
([
'./app2'
],
function
(
app
)
{
'use strict'
;
// backward compatability hack;
return
app
.
default
;
});
public/app/app.ts
→
public/app/app
2
.ts
View file @
0dd7fb73
File moved
public/app/core/time_series.js
0 → 100644
View file @
0dd7fb73
define
([
'./time_series2'
],
function
(
timeSeries
)
{
'use strict'
;
// backward compatability hack;
return
timeSeries
.
default
;
});
public/app/core/time_series.ts
→
public/app/core/time_series
2
.ts
View file @
0dd7fb73
File moved
public/app/features/panel/panel_directive.js
View file @
0dd7fb73
...
@@ -20,6 +20,7 @@ function (angular, $, config) {
...
@@ -20,6 +20,7 @@ function (angular, $, config) {
elem
.
append
(
panelEl
);
elem
.
append
(
panelEl
);
$compile
(
panelEl
)(
scope
);
$compile
(
panelEl
)(
scope
);
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
console
.
log
(
'Failed to load panel:'
,
err
);
scope
.
appEvent
(
'alert-error'
,
[
'Panel Load Error'
,
'Failed to load panel '
+
panelType
+
', '
+
err
]);
scope
.
appEvent
(
'alert-error'
,
[
'Panel Load Error'
,
'Failed to load panel '
+
panelType
+
', '
+
err
]);
});
});
}
}
...
...
public/app/grafana_app.ts
View file @
0dd7fb73
...
@@ -60,6 +60,7 @@ export class GrafanaApp {
...
@@ -60,6 +60,7 @@ export class GrafanaApp {
'grafana'
,
'grafana'
,
'pasvaz.bindonce'
,
'pasvaz.bindonce'
,
'ui.bootstrap.tabs'
,
'ui.bootstrap.tabs'
,
'ui.bootstrap.tpls'
,
];
];
var
module_types
=
[
'controllers'
,
'directives'
,
'factories'
,
'services'
,
'filters'
,
'routes'
];
var
module_types
=
[
'controllers'
,
'directives'
,
'factories'
,
'services'
,
'filters'
,
'routes'
];
...
...
public/app/plugins/datasource/graphite/datasource.js
View file @
0dd7fb73
...
@@ -14,7 +14,6 @@ function (angular, _, $, config, dateMath) {
...
@@ -14,7 +14,6 @@ function (angular, _, $, config, dateMath) {
var
module
=
angular
.
module
(
'grafana.services'
);
var
module
=
angular
.
module
(
'grafana.services'
);
console
.
log
(
'module.factory(GraphiteDatasource'
);
module
.
factory
(
'GraphiteDatasource'
,
function
(
$q
,
backendSrv
,
templateSrv
)
{
module
.
factory
(
'GraphiteDatasource'
,
function
(
$q
,
backendSrv
,
templateSrv
)
{
function
GraphiteDatasource
(
datasource
)
{
function
GraphiteDatasource
(
datasource
)
{
...
...
public/app/plugins/datasource/influxdb/influx_series.js
View file @
0dd7fb73
...
@@ -110,7 +110,7 @@ function (_, TableModel) {
...
@@ -110,7 +110,7 @@ function (_, TableModel) {
};
};
p
.
getTable
=
function
()
{
p
.
getTable
=
function
()
{
var
table
=
new
TableModel
();
var
table
=
new
TableModel
.
default
();
var
self
=
this
;
var
self
=
this
;
var
i
,
j
;
var
i
,
j
;
...
...
public/app/plugins/panels/dashlist/module.js
View file @
0dd7fb73
...
@@ -9,7 +9,7 @@ function (angular, app, _, config, PanelMeta) {
...
@@ -9,7 +9,7 @@ function (angular, app, _, config, PanelMeta) {
'use strict'
;
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.dashlist'
,
[]);
var
module
=
angular
.
module
(
'grafana.panels.dashlist'
,
[]);
app
.
default
.
useModule
(
module
);
app
.
useModule
(
module
);
module
.
directive
(
'grafanaPanelDashlist'
,
function
()
{
module
.
directive
(
'grafanaPanelDashlist'
,
function
()
{
return
{
return
{
...
...
public/app/plugins/panels/graph/seriesOverridesCtrl.js
View file @
0dd7fb73
...
@@ -7,7 +7,7 @@ define([
...
@@ -7,7 +7,7 @@ define([
'use strict'
;
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.graph'
,
[]);
var
module
=
angular
.
module
(
'grafana.panels.graph'
,
[]);
app
.
default
.
useModule
(
module
);
app
.
useModule
(
module
);
module
.
controller
(
'SeriesOverridesCtrl'
,
function
(
$scope
,
$element
,
popoverSrv
)
{
module
.
controller
(
'SeriesOverridesCtrl'
,
function
(
$scope
,
$element
,
popoverSrv
)
{
$scope
.
overrideMenu
=
[];
$scope
.
overrideMenu
=
[];
...
...
public/app/plugins/panels/singlestat/module.js
View file @
0dd7fb73
...
@@ -11,7 +11,7 @@ function (angular, app, _, kbn, TimeSeries, PanelMeta) {
...
@@ -11,7 +11,7 @@ function (angular, app, _, kbn, TimeSeries, PanelMeta) {
'use strict'
;
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.singlestat'
);
var
module
=
angular
.
module
(
'grafana.panels.singlestat'
);
app
.
default
.
useModule
(
module
);
app
.
useModule
(
module
);
module
.
directive
(
'grafanaPanelSinglestat'
,
function
()
{
module
.
directive
(
'grafanaPanelSinglestat'
,
function
()
{
return
{
return
{
...
...
public/app/plugins/panels/singlestat/singleStatPanel.js
View file @
0dd7fb73
...
@@ -9,7 +9,7 @@ function (angular, app, _, $) {
...
@@ -9,7 +9,7 @@ function (angular, app, _, $) {
'use strict'
;
'use strict'
;
var
module
=
angular
.
module
(
'grafana.panels.singlestat'
,
[]);
var
module
=
angular
.
module
(
'grafana.panels.singlestat'
,
[]);
app
.
default
.
useModule
(
module
);
app
.
useModule
(
module
);
module
.
directive
(
'singlestatPanel'
,
function
(
$location
,
linkSrv
,
$timeout
,
templateSrv
)
{
module
.
directive
(
'singlestatPanel'
,
function
(
$location
,
linkSrv
,
$timeout
,
templateSrv
)
{
...
...
public/app/plugins/panels/table/transformers.ts
View file @
0dd7fb73
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
import
moment
=
require
(
'moment'
);
import
moment
=
require
(
'moment'
);
import
_
=
require
(
'lodash'
);
import
_
=
require
(
'lodash'
);
import
flatten
from
'../../../core/utils/flatten'
;
import
flatten
from
'../../../core/utils/flatten'
;
import
TimeSeries
from
'../../../core/time_series'
;
import
TimeSeries
from
'../../../core/time_series
2
'
;
import
TableModel
from
'../../../core/table_model'
;
import
TableModel
from
'../../../core/table_model'
;
var
transformers
=
{};
var
transformers
=
{};
...
...
public/app/plugins/panels/text/module.js
View file @
0dd7fb73
...
@@ -11,7 +11,7 @@ function (angular, app, _, require, PanelMeta) {
...
@@ -11,7 +11,7 @@ function (angular, app, _, require, PanelMeta) {
var
converter
;
var
converter
;
var
module
=
angular
.
module
(
'grafana.panels.text'
,
[]);
var
module
=
angular
.
module
(
'grafana.panels.text'
,
[]);
app
.
default
.
useModule
(
module
);
app
.
useModule
(
module
);
module
.
directive
(
'grafanaPanelText'
,
function
()
{
module
.
directive
(
'grafanaPanelText'
,
function
()
{
return
{
return
{
...
...
public/views/index.html
View file @
0dd7fb73
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<script>
<script>
System
.
import
(
'app/app'
).
then
(
function
(
app
)
{
System
.
import
(
'app/app'
).
then
(
function
(
app
)
{
app
.
default
.
init
();
app
.
init
();
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
console
.
log
(
'Loading app module failed: '
,
err
);
console
.
log
(
'Loading app module failed: '
,
err
);
});
});
...
...
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