diff --git a/src/datasource-zabbix/partials/config.html b/src/datasource-zabbix/partials/config.html index 85a6fe2..56d9129 100644 --- a/src/datasource-zabbix/partials/config.html +++ b/src/datasource-zabbix/partials/config.html @@ -23,8 +23,7 @@ + placeholder="password"> diff --git a/src/datasource-zabbix/zabbixAPI.service.js b/src/datasource-zabbix/zabbixAPI.service.js index e85045b..84c8d1e 100644 --- a/src/datasource-zabbix/zabbixAPI.service.js +++ b/src/datasource-zabbix/zabbixAPI.service.js @@ -155,6 +155,7 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) { 'state' ], sortfield: 'name', + webitems: true }; if (hostids) { params.hostids = hostids; diff --git a/src/img/zabbix_logo_200.png b/src/img/zabbix_logo_200.png new file mode 100644 index 0000000..37fc09e Binary files /dev/null and b/src/img/zabbix_logo_200.png differ diff --git a/src/img/zabbix_logo_400.png b/src/img/zabbix_logo_400.png new file mode 100644 index 0000000..35069e1 Binary files /dev/null and b/src/img/zabbix_logo_400.png differ diff --git a/src/panel-triggers/editor.js b/src/panel-triggers/editor.js index df53ff5..575e4f6 100644 --- a/src/panel-triggers/editor.js +++ b/src/panel-triggers/editor.js @@ -61,7 +61,7 @@ class TriggerPanelEditorCtrl{ // Get zabbix data sources var datasources = _.filter(this.datasourceSrv.getMetricSources(), datasource => { - return datasource.meta.id === 'zabbix-datasource'; + return datasource.meta.id === 'alexanderzobnin-zabbix-datasource'; }); this.datasources = _.map(datasources, 'name'); @@ -150,7 +150,7 @@ class TriggerPanelEditorCtrl{ this.popoverSrv.show({ element: el, placement: 'top', - templateUrl: 'public/plugins/zabbix-app/panel-triggers/trigger.colorpicker.html', + templateUrl: 'public/plugins/alexanderzobnin-zabbix-app/panel-triggers/trigger.colorpicker.html', scope: popoverScope }); } @@ -167,7 +167,7 @@ class TriggerPanelEditorCtrl{ this.popoverSrv.show({ element: el, placement: 'top', - templateUrl: 'public/plugins/zabbix-app/panel-triggers/trigger.colorpicker.html', + templateUrl: 'public/plugins/alexanderzobnin-zabbix-app/panel-triggers/trigger.colorpicker.html', scope: popoverScope }); } @@ -192,7 +192,7 @@ export function triggerPanelEditor() { return { restrict: 'E', scope: true, - templateUrl: 'public/plugins/zabbix-app/panel-triggers/editor.html', + templateUrl: 'public/plugins/alexanderzobnin-zabbix-app/panel-triggers/editor.html', controller: TriggerPanelEditorCtrl, }; } diff --git a/src/plugin.json b/src/plugin.json index 6ed06fa..a0effee 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -12,15 +12,20 @@ "description": "Zabbix plugin for Grafana", "author": { "name": "Alexander Zobnin", - "url": "https://github.com/alexanderzobnin/grafana-zabbix" + "url": "https://github.com/alexanderzobnin" }, "keywords": ["zabbix"], + "logos": { + "small": "/img/zabbix_logo_200.png", + "large": "/img/zabbix_logo_400.png" + }, "links": [ - {"name": "Project site", "url": "https://github.com/alexanderzobnin/grafana-zabbix"}, - {"name": "License & Terms", "url": "https://github.com/alexanderzobnin/grafana-zabbix/blob/master/LICENSE.md"} + {"name": "GitHub", "url": "https://github.com/alexanderzobnin/grafana-zabbix"}, + {"name": "Docs", "url": "http://docs.grafana-zabbix.org"}, + {"name": "License", "url": "https://github.com/alexanderzobnin/grafana-zabbix/blob/master/LICENSE.md"} ], - "version": "3.0.0-beta2", - "updated": "2016-04-04" + "version": "3.0.0-beta3", + "updated": "2016-04-06" }, "includes": [