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
78598df9
Commit
78598df9
authored
Feb 01, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes(): fixes for changed app -> public/app paths and fixes for optimized build
parent
e737dab5
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
13 additions
and
10 deletions
+13
-10
public/app/core/services/alert_srv.js
+1
-1
public/app/features/annotations/editor_ctrl.js
+1
-1
public/app/features/annotations/partials/editor.html
+1
-1
public/app/features/annotations/query_editor.ts
+1
-1
public/app/features/dashboard/keybindings.js
+1
-1
public/app/features/panel/panel.ts
+1
-0
public/app/features/panel/panel_loader.ts
+1
-1
public/app/plugins/datasource/elasticsearch/edit_view.ts
+1
-0
public/less/timepicker.less
+1
-1
tasks/build_task.js
+3
-3
tasks/options/ngtemplates.js
+1
-0
No files found.
public/app/core/services/alert_srv.js
View file @
78598df9
...
@@ -72,7 +72,7 @@ function (angular, _, coreModule) {
...
@@ -72,7 +72,7 @@ function (angular, _, coreModule) {
scope
.
noText
=
payload
.
noText
||
"Cancel"
;
scope
.
noText
=
payload
.
noText
||
"Cancel"
;
var
confirmModal
=
$modal
({
var
confirmModal
=
$modal
({
template
:
'
.
/app/partials/confirm_modal.html'
,
template
:
'
public
/app/partials/confirm_modal.html'
,
persist
:
false
,
persist
:
false
,
modalClass
:
'modal-no-header confirm-modal'
,
modalClass
:
'modal-no-header confirm-modal'
,
show
:
false
,
show
:
false
,
...
...
public/app/features/annotations/editor_ctrl.js
View file @
78598df9
...
@@ -31,7 +31,7 @@ function (angular, _, $) {
...
@@ -31,7 +31,7 @@ function (angular, _, $) {
};
};
$scope
.
datasourceChanged
=
function
()
{
$scope
.
datasourceChanged
=
function
()
{
datasourceSrv
.
get
(
$scope
.
currentAnnotation
.
datasource
).
then
(
function
(
ds
)
{
return
datasourceSrv
.
get
(
$scope
.
currentAnnotation
.
datasource
).
then
(
function
(
ds
)
{
$scope
.
currentDatasource
=
ds
;
$scope
.
currentDatasource
=
ds
;
$scope
.
currentAnnotation
.
datasource
=
ds
.
name
;
$scope
.
currentAnnotation
.
datasource
=
ds
.
name
;
});
});
...
...
public/app/features/annotations/partials/editor.html
View file @
78598df9
...
@@ -33,9 +33,9 @@
...
@@ -33,9 +33,9 @@
<i
class=
"fa fa-remove"
></i>
<i
class=
"fa fa-remove"
></i>
</button>
</button>
</div>
</div>
<div
class=
"gf-box-body"
>
<div
class=
"gf-box-body"
>
<div
class=
"editor-row row"
ng-if=
"mode === 'list'"
>
<div
class=
"editor-row row"
ng-if=
"mode === 'list'"
>
<div
class=
"span6"
>
<div
class=
"span6"
>
<div
ng-if=
"annotations.length === 0"
>
<div
ng-if=
"annotations.length === 0"
>
...
...
public/app/features/annotations/query_editor.ts
View file @
78598df9
...
@@ -9,7 +9,7 @@ function annotationsQueryEditor(dynamicDirectiveSrv) {
...
@@ -9,7 +9,7 @@ function annotationsQueryEditor(dynamicDirectiveSrv) {
annotation
:
"="
,
annotation
:
"="
,
datasource
:
"="
datasource
:
"="
},
},
watchPath
:
"
datasource.typ
e"
,
watchPath
:
"
annotation.datasourc
e"
,
directive
:
scope
=>
{
directive
:
scope
=>
{
return
System
.
import
(
scope
.
datasource
.
meta
.
module
).
then
(
function
(
dsModule
)
{
return
System
.
import
(
scope
.
datasource
.
meta
.
module
).
then
(
function
(
dsModule
)
{
return
{
return
{
...
...
public/app/features/dashboard/keybindings.js
View file @
78598df9
...
@@ -21,7 +21,7 @@ function(angular, $) {
...
@@ -21,7 +21,7 @@ function(angular, $) {
helpModalScope
=
$rootScope
.
$new
();
helpModalScope
=
$rootScope
.
$new
();
var
helpModal
=
$modal
({
var
helpModal
=
$modal
({
template
:
'
.
/app/partials/help_modal.html'
,
template
:
'
public
/app/partials/help_modal.html'
,
persist
:
false
,
persist
:
false
,
show
:
false
,
show
:
false
,
scope
:
helpModalScope
,
scope
:
helpModalScope
,
...
...
public/app/features/panel/panel.ts
View file @
78598df9
...
@@ -6,6 +6,7 @@ import {PanelCtrl} from './panel_ctrl';
...
@@ -6,6 +6,7 @@ import {PanelCtrl} from './panel_ctrl';
import
{
MetricsPanelCtrl
}
from
'./metrics_panel_ctrl'
;
import
{
MetricsPanelCtrl
}
from
'./metrics_panel_ctrl'
;
export
class
DefaultPanelCtrl
extends
PanelCtrl
{
export
class
DefaultPanelCtrl
extends
PanelCtrl
{
/** @ngInject */
constructor
(
$scope
,
$injector
)
{
constructor
(
$scope
,
$injector
)
{
super
(
$scope
,
$injector
);
super
(
$scope
,
$injector
);
}
}
...
...
public/app/features/panel/panel_loader.ts
View file @
78598df9
...
@@ -24,7 +24,7 @@ function panelLoader($compile, dynamicDirectiveSrv, $http, $q, $injector, $templ
...
@@ -24,7 +24,7 @@ function panelLoader($compile, dynamicDirectiveSrv, $http, $q, $injector, $templ
}
}
var
cached
=
$templateCache
.
get
(
directive
.
templateUrl
);
var
cached
=
$templateCache
.
get
(
directive
.
templateUrl
);
if
(
cached
)
{
if
(
cached
)
{
return
cached
;
return
$q
.
when
(
cached
)
;
}
}
return
$http
.
get
(
directive
.
templateUrl
).
then
(
res
=>
{
return
$http
.
get
(
directive
.
templateUrl
).
then
(
res
=>
{
return
res
.
data
;
return
res
.
data
;
...
...
public/app/plugins/datasource/elasticsearch/edit_view.ts
View file @
78598df9
...
@@ -5,6 +5,7 @@ import _ from 'lodash';
...
@@ -5,6 +5,7 @@ import _ from 'lodash';
export
class
EditViewCtrl
{
export
class
EditViewCtrl
{
/** @ngInject */
constructor
(
$scope
)
{
constructor
(
$scope
)
{
$scope
.
indexPatternTypes
=
[
$scope
.
indexPatternTypes
=
[
{
name
:
'No pattern'
,
value
:
undefined
},
{
name
:
'No pattern'
,
value
:
undefined
},
...
...
public/less/timepicker.less
View file @
78598df9
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
}
}
.gf-timepicker-dropdown {
.gf-timepicker-dropdown {
margin: -5px -10px;
margin: -5px -10px
10px 5px
;
padding: 10px 20px;
padding: 10px 20px;
float: right;
float: right;
background-color: @grafanaPanelBackground;
background-color: @grafanaPanelBackground;
...
...
tasks/build_task.js
View file @
78598df9
...
@@ -19,9 +19,9 @@ module.exports = function(grunt) {
...
@@ -19,9 +19,9 @@ module.exports = function(grunt) {
'ngAnnotate:build'
,
'ngAnnotate:build'
,
'systemjs:build'
,
'systemjs:build'
,
'concat:js'
,
'concat:js'
,
//
'filerev',
'filerev'
,
//
'remapFilerev',
'remapFilerev'
,
//
'usemin',
'usemin'
,
'uglify:genDir'
'uglify:genDir'
]);
]);
...
...
tasks/options/ngtemplates.js
View file @
78598df9
...
@@ -5,6 +5,7 @@ module.exports = function(config) {
...
@@ -5,6 +5,7 @@ module.exports = function(config) {
src
:
[
'app/**/*.html'
],
src
:
[
'app/**/*.html'
],
dest
:
'<%= genDir %>/app/core/partials.js'
,
dest
:
'<%= genDir %>/app/core/partials.js'
,
options
:
{
options
:
{
prefix
:
'public/'
,
bootstrap
:
function
(
module
,
script
)
{
bootstrap
:
function
(
module
,
script
)
{
return
"define('app/core/partials', ['app/core/core_module'], function(coreModule) {
\
n"
+
return
"define('app/core/partials', ['app/core/core_module'], function(coreModule) {
\
n"
+
"coreModule.default.run(['$templateCache', function($templateCache) {
\
n"
+
"coreModule.default.run(['$templateCache', function($templateCache) {
\
n"
+
...
...
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