Files
grafana-zabbix/plugins/datasource-zabbix/directives.js
Alexander Zobnin acedb806d9 Issue #72 - changed plugin.json files and fixed templates path
for new plugin model. Can load plugins from any place.
2015-12-28 14:00:03 +03:00

22 lines
629 B
JavaScript

define([
'angular'
],
function (angular) {
'use strict';
var module = angular.module('grafana.directives');
module.directive('metricQueryEditorZabbix', function() {
return {controller: 'ZabbixAPIQueryCtrl', templateUrl: 'public/plugins/zabbix/partials/query.editor.html'};
});
module.directive('metricQueryOptionsZabbix', function() {
return {templateUrl: 'public/plugins/zabbix/partials/query.options.html'};
});
module.directive('annotationsQueryEditorZabbix', function() {
return {templateUrl: 'public/plugins/zabbix/partials/annotations.editor.html'};
});
});