Fixed templates paths.
This commit is contained in:
@@ -150,7 +150,7 @@ class TriggerPanelEditorCtrl{
|
||||
this.popoverSrv.show({
|
||||
element: el,
|
||||
placement: 'top',
|
||||
templateUrl: 'public/plugins/triggers/trigger.colorpicker.html',
|
||||
templateUrl: 'public/plugins/zabbix-triggers-panel/trigger.colorpicker.html',
|
||||
scope: popoverScope
|
||||
});
|
||||
}
|
||||
@@ -167,7 +167,7 @@ class TriggerPanelEditorCtrl{
|
||||
this.popoverSrv.show({
|
||||
element: el,
|
||||
placement: 'top',
|
||||
templateUrl: 'public/plugins/triggers/trigger.colorpicker.html',
|
||||
templateUrl: 'public/plugins/zabbix-triggers-panel/trigger.colorpicker.html',
|
||||
scope: popoverScope
|
||||
});
|
||||
}
|
||||
@@ -192,7 +192,7 @@ export function triggerPanelEditor() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
scope: true,
|
||||
templateUrl: 'public/plugins/triggers/editor.html',
|
||||
templateUrl: 'public/plugins/zabbix-triggers-panel/editor.html',
|
||||
controller: TriggerPanelEditorCtrl,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ class TriggerPanelCtrl extends MetricsPanelCtrl {
|
||||
}
|
||||
}
|
||||
|
||||
TriggerPanelCtrl.templateUrl = 'module.html';
|
||||
TriggerPanelCtrl.templateUrl = 'panel-triggers/module.html';
|
||||
|
||||
function filterTriggers(triggers, triggerFilter) {
|
||||
if (isRegex(triggerFilter)) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "panel",
|
||||
"name": "Zabbix Triggers",
|
||||
"id": "triggers",
|
||||
"id": "zabbix-triggers-panel",
|
||||
|
||||
"info": {
|
||||
"author": {
|
||||
|
||||
Reference in New Issue
Block a user