annotations.editor.html 919 B

12345678910111213141516171819202122
  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='from(db:"telegraf") |> range($range)'></input>
  4. </div>
  5. </div>
  6. <h5 class="section-heading">Field mappings
  7. <tip>If your influxdb query returns more than one field you need to specify the column names below. An annotation event is composed
  8. of a title, tags, and an additional text field.</tip>
  9. </h5>
  10. <div class="gf-form-group">
  11. <div class="gf-form-inline">
  12. <div class="gf-form">
  13. <span class="gf-form-label width-4">Text</span>
  14. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.textColumn' placeholder=""></input>
  15. </div>
  16. <div class="gf-form">
  17. <span class="gf-form-label width-4">Tags</span>
  18. <input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.tagsColumn' placeholder=""></input>
  19. </div>
  20. </div>
  21. </div>