feat(plugins): made it possible to have relative plugin template urls
This commit is contained in:
@@ -3,13 +3,13 @@ define([
|
||||
'use strict';
|
||||
|
||||
function StreamPageCtrl() {}
|
||||
StreamPageCtrl.templateUrl = 'public/plugins/nginx-app/partials/stream.html';
|
||||
StreamPageCtrl.templateUrl = 'partials/stream.html';
|
||||
|
||||
function LogsPageCtrl() {}
|
||||
LogsPageCtrl.templateUrl = 'public/plugins/nginx-app/partials/logs.html';
|
||||
LogsPageCtrl.templateUrl = 'partials/logs.html';
|
||||
|
||||
function NginxConfigCtrl() {}
|
||||
NginxConfigCtrl.templateUrl = 'public/plugins/nginx-app/partials/config.html';
|
||||
NginxConfigCtrl.templateUrl = 'partials/config.html';
|
||||
|
||||
return {
|
||||
ConfigCtrl: NginxConfigCtrl,
|
||||
|
||||
@@ -12,7 +12,7 @@ define([
|
||||
// BoilerPlatePanel.template = '<h2>boilerplate</h2>';
|
||||
|
||||
// all panel static assets can be accessed via 'public/plugins/<plugin-id>/<file>
|
||||
BoilerPlatePanel.templateUrl = 'public/plugins/panel-boilerplate-es5/panel.html';
|
||||
BoilerPlatePanel.templateUrl = 'panel.html';
|
||||
|
||||
BoilerPlatePanel.prototype = Object.create(_super.prototype);
|
||||
BoilerPlatePanel.prototype.constructor = BoilerPlatePanel;
|
||||
|
||||
Reference in New Issue
Block a user