annotations.editor.html 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <div class="editor-row">
  2. <div class="section">
  3. <h5>InfluxDB Query <tip>Example: select text from events where $timeFilter</tip></h5>
  4. <div class="editor-option">
  5. <input type="text" class="span10" ng-model='currentAnnotation.query' placeholder="select text from events where $timeFilter"></input>
  6. </div>
  7. </div>
  8. </div>
  9. <div class="editor-row">
  10. <div class="section">
  11. <h5>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>
  12. <div class="editor-option">
  13. <label class="small">Title</label>
  14. <input type="text" class="input-small" ng-model='currentAnnotation.titleColumn' placeholder=""></input>
  15. </div>
  16. <div class="editor-option">
  17. <label class="small">Tags</label>
  18. <input type="text" class="input-small" ng-model='currentAnnotation.tagsColumn' placeholder=""></input>
  19. </div>
  20. <div class="editor-option">
  21. <label class="small">Text</label>
  22. <input type="text" class="input-small" ng-model='currentAnnotation.textColumn' placeholder=""></input>
  23. </div>
  24. </div>
  25. </div>