annotations.editor.html 1.5 KB

12345678910111213141516171819202122232425262728
  1. <div class="gf-form-group">
  2. <div class="gf-form">
  3. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.query' placeholder="select text from events where $timeFilter limit 1000"></input>
  4. </div>
  5. </div>
  6. <h5 class="section-heading">Field mappings <tip>If your influxdb query returns more than one field you need to specify the column names below. An annotation event is composed of a title, tags, and an additional text field. Optionally you can map the timeEnd column for region annotation usage.</tip></h5>
  7. <div class="gf-form-group">
  8. <div class="gf-form-inline">
  9. <div class="gf-form">
  10. <span class="gf-form-label width-4">Text</span>
  11. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
  12. </div>
  13. <div class="gf-form">
  14. <span class="gf-form-label width-4">Tags</span>
  15. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
  16. </div>
  17. <div class="gf-form">
  18. <span class="gf-form-label width-4">TimeEnd</span>
  19. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.timeEndColumn' placeholder=""></input>
  20. </div>
  21. <div class="gf-form" ng-show="ctrl.annotation.titleColumn">
  22. <span class="gf-form-label width-4">Title <em class="muted">(deprecated)</em></span>
  23. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.titleColumn' placeholder=""></input>
  24. </div>
  25. </div>
  26. </div>