Updated datasource edit page style.
This commit is contained in:
@@ -1,56 +1,61 @@
|
|||||||
<datasource-http-settings current="ctrl.current">
|
<datasource-http-settings current="ctrl.current">
|
||||||
</datasource-http-settings>
|
</datasource-http-settings>
|
||||||
|
|
||||||
<h5>Zabbix API details</h5>
|
<div class="gf-form-group">
|
||||||
|
<h3 class="page-heading">Zabbix API details</h3>
|
||||||
|
|
||||||
<div class="tight-form">
|
<div class="gf-form">
|
||||||
<ul class="tight-form-list">
|
<span class="gf-form-label width-7">
|
||||||
<li class="tight-form-item" style="width: 80px">
|
Username
|
||||||
User
|
</span>
|
||||||
</li>
|
<input class="gf-form-input max-width-21"
|
||||||
<li>
|
type="text"
|
||||||
<input type="text" class="tight-form-input input-large"
|
|
||||||
ng-model='ctrl.current.jsonData.username'
|
ng-model='ctrl.current.jsonData.username'
|
||||||
placeholder="">
|
placeholder="user"
|
||||||
</li>
|
required>
|
||||||
<li class="tight-form-item" style="width: 80px">
|
</input>
|
||||||
Password
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<input type="password" class="tight-form-input input-large"
|
|
||||||
ng-model='ctrl.current.jsonData.password'
|
|
||||||
placeholder="">
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<div class="clearfix"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="tight-form last">
|
|
||||||
<ul class="tight-form-list">
|
<div class="gf-form">
|
||||||
<li class="tight-form-item" style="width: 200px">
|
<span class="gf-form-label width-7">
|
||||||
Cache update interval
|
Password
|
||||||
</li>
|
</span>
|
||||||
<li>
|
<input class="gf-form-input max-width-21"
|
||||||
<input type="text" class="tight-form-input input-small"
|
type="password"
|
||||||
ng-model='ctrl.current.jsonData.cacheTTL'
|
ng-model='ctrl.current.jsonData.password'
|
||||||
placeholder="1h">
|
placeholder="password"
|
||||||
</li>
|
required>
|
||||||
<li class="tight-form-item" style="width: 80px">
|
</input>
|
||||||
Trends
|
</div>
|
||||||
<input class="cr1" id="ctrl.current.jsonData.trends" type="checkbox"
|
|
||||||
ng-model="ctrl.current.jsonData.trends"
|
<div class="gf-form-inline">
|
||||||
ng-checked="ctrl.current.jsonData.trends">
|
<div class="gf-form">
|
||||||
<label for="ctrl.current.jsonData.trends" class="cr1"></label>
|
<label class="gf-form-label width-7">Trends</label>
|
||||||
</li>
|
</div>
|
||||||
<li ng-if="ctrl.current.jsonData.trends"
|
<gf-form-switch class="gf-form"
|
||||||
class="tight-form-item"
|
label="Enable"
|
||||||
style="width: 105px">
|
checked="ctrl.current.jsonData.trends" switch-class="max-width-6">
|
||||||
Use trends from
|
</gf-form-switch>
|
||||||
</li>
|
<div class="gf-form" ng-if="ctrl.current.jsonData.trends">
|
||||||
<li ng-if="ctrl.current.jsonData.trends">
|
<span class="gf-form-label width-7">
|
||||||
<input type="text" class="tight-form-input input-small"
|
Use from
|
||||||
|
</span>
|
||||||
|
<input class="gf-form-input max-width-5"
|
||||||
|
type="text"
|
||||||
ng-model='ctrl.current.jsonData.trendsFrom'
|
ng-model='ctrl.current.jsonData.trendsFrom'
|
||||||
placeholder="7d">
|
placeholder="7d">
|
||||||
</li>
|
</input>
|
||||||
</ul>
|
</div>
|
||||||
<div class="clearfix"></div>
|
</div>
|
||||||
|
|
||||||
|
<div class="gf-form">
|
||||||
|
<span class="gf-form-label width-12">
|
||||||
|
Cache update interval
|
||||||
|
</span>
|
||||||
|
<input class="gf-form-input max-width-4"
|
||||||
|
type="text"
|
||||||
|
ng-model='ctrl.current.jsonData.cacheTTL'
|
||||||
|
placeholder="1h">
|
||||||
|
</input>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user