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
Show 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) {
scope
.
noText
=
payload
.
noText
||
"Cancel"
;
var
confirmModal
=
$modal
({
template
:
'
.
/app/partials/confirm_modal.html'
,
template
:
'
public
/app/partials/confirm_modal.html'
,
persist
:
false
,
modalClass
:
'modal-no-header confirm-modal'
,
show
:
false
,
...
...
public/app/features/annotations/editor_ctrl.js
View file @
78598df9
...
...
@@ -31,7 +31,7 @@ function (angular, _, $) {
};
$scope
.
datasourceChanged
=
function
()
{
datasourceSrv
.
get
(
$scope
.
currentAnnotation
.
datasource
).
then
(
function
(
ds
)
{
return
datasourceSrv
.
get
(
$scope
.
currentAnnotation
.
datasource
).
then
(
function
(
ds
)
{
$scope
.
currentDatasource
=
ds
;
$scope
.
currentAnnotation
.
datasource
=
ds
.
name
;
});
...
...
public/app/features/annotations/partials/editor.html
View file @
78598df9
...
...
@@ -33,9 +33,9 @@
<i
class=
"fa fa-remove"
></i>
</button>
</div>
<div
class=
"gf-box-body"
>
<div
class=
"editor-row row"
ng-if=
"mode === 'list'"
>
<div
class=
"span6"
>
<div
ng-if=
"annotations.length === 0"
>
...
...
public/app/features/annotations/query_editor.ts
View file @
78598df9
...
...
@@ -9,7 +9,7 @@ function annotationsQueryEditor(dynamicDirectiveSrv) {
annotation
:
"="
,
datasource
:
"="
},
watchPath
:
"
datasource.typ
e"
,
watchPath
:
"
annotation.datasourc
e"
,
directive
:
scope
=>
{
return
System
.
import
(
scope
.
datasource
.
meta
.
module
).
then
(
function
(
dsModule
)
{
return
{
...
...
public/app/features/dashboard/keybindings.js
View file @
78598df9
...
...
@@ -21,7 +21,7 @@ function(angular, $) {
helpModalScope
=
$rootScope
.
$new
();
var
helpModal
=
$modal
({
template
:
'
.
/app/partials/help_modal.html'
,
template
:
'
public
/app/partials/help_modal.html'
,
persist
:
false
,
show
:
false
,
scope
:
helpModalScope
,
...
...
public/app/features/panel/panel.ts
View file @
78598df9
...
...
@@ -6,6 +6,7 @@ import {PanelCtrl} from './panel_ctrl';
import
{
MetricsPanelCtrl
}
from
'./metrics_panel_ctrl'
;
export
class
DefaultPanelCtrl
extends
PanelCtrl
{
/** @ngInject */
constructor
(
$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
}
var
cached
=
$templateCache
.
get
(
directive
.
templateUrl
);
if
(
cached
)
{
return
cached
;
return
$q
.
when
(
cached
)
;
}
return
$http
.
get
(
directive
.
templateUrl
).
then
(
res
=>
{
return
res
.
data
;
...
...
public/app/plugins/datasource/elasticsearch/edit_view.ts
View file @
78598df9
...
...
@@ -5,6 +5,7 @@ import _ from 'lodash';
export
class
EditViewCtrl
{
/** @ngInject */
constructor
(
$scope
)
{
$scope
.
indexPatternTypes
=
[
{
name
:
'No pattern'
,
value
:
undefined
},
...
...
public/less/timepicker.less
View file @
78598df9
...
...
@@ -7,7 +7,7 @@
}
.gf-timepicker-dropdown {
margin: -5px -10px;
margin: -5px -10px
10px 5px
;
padding: 10px 20px;
float: right;
background-color: @grafanaPanelBackground;
...
...
tasks/build_task.js
View file @
78598df9
...
...
@@ -19,9 +19,9 @@ module.exports = function(grunt) {
'ngAnnotate:build'
,
'systemjs:build'
,
'concat:js'
,
//
'filerev',
//
'remapFilerev',
//
'usemin',
'filerev'
,
'remapFilerev'
,
'usemin'
,
'uglify:genDir'
]);
...
...
tasks/options/ngtemplates.js
View file @
78598df9
...
...
@@ -5,6 +5,7 @@ module.exports = function(config) {
src
:
[
'app/**/*.html'
],
dest
:
'<%= genDir %>/app/core/partials.js'
,
options
:
{
prefix
:
'public/'
,
bootstrap
:
function
(
module
,
script
)
{
return
"define('app/core/partials', ['app/core/core_module'], function(coreModule) {
\
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