mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
Fix for paths to partials
This commit is contained in:
parent
04ec222462
commit
7fef460fa2
@ -25,7 +25,7 @@ function (angular, $, config) {
|
||||
}).directive('grafanaPanel', function() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: '/app/features/panel/partials/panel.html',
|
||||
templateUrl: 'app/features/panel/partials/panel.html',
|
||||
transclude: true,
|
||||
link: function(scope, elem) {
|
||||
var panelContainer = elem.find('.panel-container');
|
||||
|
@ -19,7 +19,7 @@ function (angular, app, $, _, kbn, moment, TimeSeries, PanelMeta) {
|
||||
module.directive('grafanaPanelGraph', function() {
|
||||
return {
|
||||
controller: 'GraphCtrl',
|
||||
templateUrl: '/app/panels/graph/module.html',
|
||||
templateUrl: 'app/panels/graph/module.html',
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -16,7 +16,7 @@ function (angular, app, _, TimeSeries, kbn, PanelMeta) {
|
||||
module.directive('grafanaPanelSinglestat', function() {
|
||||
return {
|
||||
controller: 'SingleStatCtrl',
|
||||
templateUrl: '/app/panels/singlestat/module.html',
|
||||
templateUrl: 'app/panels/singlestat/module.html',
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -16,7 +16,7 @@ function (angular, app, _, require, PanelMeta) {
|
||||
module.directive('grafanaPanelText', function() {
|
||||
return {
|
||||
controller: 'TextPanelCtrl',
|
||||
templateUrl: '/app/panels/text/module.html',
|
||||
templateUrl: 'app/panels/text/module.html',
|
||||
};
|
||||
});
|
||||
|
||||
|
@ -2,7 +2,7 @@ module.exports = function(config) {
|
||||
return {
|
||||
grafana: {
|
||||
cwd: '<%= tempDir %>',
|
||||
src: ['app/**/*.html', '!app/panels/*/module.html'],
|
||||
src: ['app/**/*.html'],
|
||||
dest: '<%= tempDir %>/app/components/partials.js',
|
||||
options: {
|
||||
bootstrap: function(module, script) {
|
||||
|
Loading…
Reference in New Issue
Block a user