Files
grafana-zabbix/zabbix/partials/annotations.editor.html
2015-08-06 22:36:14 +03:00

58 lines
2.1 KiB
HTML

<div class="editor-row">
<div class="section">
<h5>Zabbix trigger
<tip>Example: Lack of free swap space</tip>
</h5>
<div class="editor-option">
<label class="small">Name</label>
<input type="text" class="tight-form-input input-large"
ng-model="currentAnnotation.group"
placeholder="Lack of free swap space">
<div class="tight-form">
<ul class="tight-form-list" role="menu">
<!-- Host Group -->
<li class="tight-form-item input-small" style="width: 5em">Group</li>
<li>
<input type="text" class="tight-form-input input-large"
ng-model="currentAnnotation.group"
placeholder="Lack of free swap space">
</li>
<!-- Host -->
<li class="tight-form-item input-small" style="width: 3em">Host</li>
<li>
<input type="text" class="tight-form-input input-large"
ng-model="currentAnnotation.host"
placeholder="Lack of free swap space">
</li>
<!-- Trigger filter -->
<li class="tight-form-item">
Trigger
<i class="fa fa-question-circle"
bs-tooltip="'Filtering hosts by regex. Select All in items and specify regex for host names.'"></i>
</li>
<li>
<input type="text" class="tight-form-input input-large"
ng-model="currentAnnotation.trigger"
spellcheck='false'
placeholder="Trigger filter (regex)"
ng-blur="targetBlur()">
</li>
</ul>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<div class="editor-row">
<div class="section">
<h5>Options</h5>
<input type="checkbox" class="cr1" id="currentAnnotation.showOkEvents"
ng-model="currentAnnotation.showOkEvents"
ng-checked="currentAnnotation.showOkEvents">
<label for="currentAnnotation.showOkEvents" class="cr1">Show OK events
<tip>Show events, generated when trigger release to OK state</tip>
</label>
</div>
</div>