Modify annotations editor.

This commit is contained in:
Alexander Zobnin
2015-08-06 22:36:14 +03:00
parent 377ea8281f
commit 12a3a2b6b0

View File

@@ -4,9 +4,42 @@
<tip>Example: Lack of free swap space</tip> <tip>Example: Lack of free swap space</tip>
</h5> </h5>
<div class="editor-option"> <div class="editor-option">
<input type="text" class="span10" <label class="small">Name</label>
ng-model="currentAnnotation.query" <input type="text" class="tight-form-input input-large"
ng-model="currentAnnotation.group"
placeholder="Lack of free swap space"> 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>
</div> </div>