Fix configs.
This commit is contained in:
@@ -23,11 +23,6 @@ function (angular, _, kbn) {
|
||||
|
||||
// No datapoints limit by default
|
||||
this.limitmetrics = datasource.limitmetrics || 0;
|
||||
|
||||
this.partials = datasource.partials || 'plugins/datasource/zabbix/partials';
|
||||
this.editorSrc = this.partials + '/query.editor.html';
|
||||
this.annotationEditorSrc = this.partials + '/annotations.editor.html';
|
||||
this.supportAnnotations = true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -2,20 +2,9 @@
|
||||
|
||||
<br>
|
||||
|
||||
<h5>Zabbix Details</h5>
|
||||
<h5>Zabbix API details</h5>
|
||||
|
||||
<div class="tight-form">
|
||||
<ul class="tight-form-list">
|
||||
<li class="tight-form-item" style="width: 80px">
|
||||
Database
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" class="tight-form-input input-large" ng-model='current.database' placeholder="" required></input>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
<div class="tight-form last">
|
||||
<ul class="tight-form-list">
|
||||
<li class="tight-form-item" style="width: 80px">
|
||||
User
|
||||
@@ -27,7 +16,7 @@
|
||||
Password
|
||||
</li>
|
||||
<li>
|
||||
<input type="password" class="tight-form-input input-large" ng-model='current.password' placeholder="password"></input>
|
||||
<input type="password" class="tight-form-input input-large" ng-model='current.password' placeholder=""></input>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clearfix"></div>
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
"username": "guest",
|
||||
"password": "",
|
||||
|
||||
"metrics": true
|
||||
"metrics": true,
|
||||
"annotations": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user