mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix annotation editor error
This commit is contained in:
parent
634699c8e2
commit
20283a46f9
@ -2,7 +2,7 @@
|
|||||||
<div class="section">
|
<div class="section">
|
||||||
<h5>Search expression</h5>
|
<h5>Search expression</h5>
|
||||||
<div class="editor-option">
|
<div class="editor-option">
|
||||||
<input type="text" class="span6" ng-model='annotation.expr' placeholder="ALERTS"></input>
|
<input type="text" class="span6" ng-model='ctrl.annotation.expr' placeholder="ALERTS"></input>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -12,17 +12,17 @@
|
|||||||
<h5>Field formats</h5>
|
<h5>Field formats</h5>
|
||||||
<div class="editor-option">
|
<div class="editor-option">
|
||||||
<label class="small">Title</label>
|
<label class="small">Title</label>
|
||||||
<input type="text" class="input-small" ng-model='annotation.titleFormat' placeholder="alertname"></input>
|
<input type="text" class="input-small" ng-model='ctrl.annotation.titleFormat' placeholder="alertname"></input>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="editor-option">
|
<div class="editor-option">
|
||||||
<label class="small">Tags</label>
|
<label class="small">Tags</label>
|
||||||
<input type="text" class="input-small" ng-model='annotation.tagKeys' placeholder="label1,label2"></input>
|
<input type="text" class="input-small" ng-model='ctrl.annotation.tagKeys' placeholder="label1,label2"></input>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="editor-option">
|
<div class="editor-option">
|
||||||
<label class="small">Text</label>
|
<label class="small">Text</label>
|
||||||
<input type="text" class="input-small" ng-model='annotation.textFormat' placeholder="instance"></input>
|
<input type="text" class="input-small" ng-model='ctrl.annotation.textFormat' placeholder="instance"></input>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user