Skip to content

Commit cd52c24

Browse files
committed
feat(annotations): more work on new annotations
1 parent 2e52008 commit cd52c24

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

public/app/features/annotations/partials/editor.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@
7777
<select class="gf-form-input gf-size-auto" ng-model="currentAnnotation.datasource" ng-options="f.name as f.name for f in datasources" ng-change="datasourceChanged()"></select>
7878
</div>
7979
</div>
80-
<!-- <div class="gf&#45;form gf&#45;size&#45;max&#45;xl"> -->
81-
<!-- <span class="gf&#45;form&#45;label width&#45;10">Icon size</span> -->
82-
<!-- <div class="gf&#45;form&#45;select&#45;wrapper"> -->
83-
<!-- <select class="gf&#45;form&#45;input gf&#45;size&#45;md" ng&#45;model="currentAnnotation.iconSize" ng&#45;options="f for f in [7,8,9,10,13,15,17,20,25,30]"></select> -->
84-
<!-- </div> -->
85-
<!-- </div> -->
8680
<div class="gf-form">
8781
<label class="gf-form-label">
8882
<span>Color</span>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
2+
<h6>Query</h6>
13
<div class="gf-form-group">
24
<div class="gf-form">
3-
<span class="gf-form-label width-10">InfluxDB Query <tip>Example: select text from events where $timeFilter</tip></span class="gf-form-label">
4-
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.query' placeholder="select text from events where $timeFilter"></input>
5-
</div>
5+
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.query' placeholder="select text from events where $timeFilter"></input>
66
</div>
77
</div>
88

@@ -11,17 +11,17 @@ <h6>Column mappings <tip>If your influxdb query returns more than one column you
1111
<div class="gf-form-inline">
1212
<div class="gf-form">
1313
<span class="gf-form-label width-4">Title</span>
14-
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.titleColumn' placeholder=""></input>
14+
<input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.titleColumn' placeholder=""></input>
1515
</div>
1616

1717
<div class="gf-form">
1818
<span class="gf-form-label width-4">Tags</span>
19-
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
19+
<input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
2020
</div>
2121

2222
<div class="gf-form">
2323
<span class="gf-form-label width-4">Text</span>
24-
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
24+
<input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
2525
</div>
2626
</div>
2727
</div>

0 commit comments

Comments
 (0)