annotations.editor.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <h5 class="section-heading">Query</h5>
  2. <div class="gf-form-group">
  3. <div class="gf-form">
  4. <input type="text" class="gf-form-input" ng-model='ctrl.annotation.query' placeholder="select text from events where $timeFilter"></input>
  5. </div>
  6. </div>
  7. <h5 class="section-heading">Column mappings <tip>If your influxdb query returns more than one column you need to specify the column names below. An annotation event is composed of a title, tags, and an additional text field.</tip></h5>
  8. <div class="gf-form-group">
  9. <div class="gf-form-inline">
  10. <div class="gf-form">
  11. <span class="gf-form-label width-4">Title</span>
  12. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.titleColumn' placeholder=""></input>
  13. </div>
  14. <div class="gf-form">
  15. <span class="gf-form-label width-4">Tags</span>
  16. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
  17. </div>
  18. <div class="gf-form">
  19. <span class="gf-form-label width-4">Text</span>
  20. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
  21. </div>
  22. </div>
  23. </div>