Merge branch 'develop'

This commit is contained in:
Alexander Zobnin
2016-04-06 20:23:20 +03:00
6 changed files with 16 additions and 11 deletions

View File

@@ -23,8 +23,7 @@
<input class="gf-form-input max-width-21"
type="password"
ng-model='ctrl.current.jsonData.password'
placeholder="password"
required>
placeholder="password">
</input>
</div>

View File

@@ -155,6 +155,7 @@ function ZabbixAPIService($q, alertSrv, zabbixAPICoreService) {
'state'
],
sortfield: 'name',
webitems: true
};
if (hostids) {
params.hostids = hostids;

BIN
src/img/zabbix_logo_200.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
src/img/zabbix_logo_400.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -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,
};
}

View File

@@ -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": [