editor.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="gf-form-group">
  2. <div class="gf-form-inline">
  3. <div class="gf-form">
  4. <span class="gf-form-label width-10">Mode</span>
  5. <div class="gf-form-select-wrapper max-width-10">
  6. <select class="gf-form-input" ng-model="ctrl.panel.mode" ng-options="f for f in ctrl.modes" ng-change="ctrl.refresh()"></select>
  7. </div>
  8. </div>
  9. </div>
  10. <div class="gf-form-inline" ng-if="ctrl.panel.mode === 'search'">
  11. <div class="gf-form">
  12. <span class="gf-form-label width-10">Search options</span>
  13. <span class="gf-form-label">Query</span>
  14. <input type="text" class="gf-form-input" placeholder="title query"
  15. ng-model="ctrl.panel.query" ng-change="ctrl.refresh()" ng-model-onblur>
  16. </div>
  17. <div class="gf-form">
  18. <span class="gf-form-label">Tags</span>
  19. <bootstrap-tagsinput ng-model="ctrl.panel.tags" tagclass="label label-tag" placeholder="add tags" on-tags-updated="ctrl.refresh()">
  20. </bootstrap-tagsinput>
  21. </div>
  22. </div>
  23. <div class="gf-form-inline">
  24. <div class="gf-form">
  25. <span class="gf-form-label width-10">Limit number to</span>
  26. <input class="gf-form-input" type="number" ng-model="ctrl.panel.limit" ng-model-onblur ng-change="ctrl.refresh()">
  27. </div>
  28. </div>
  29. </div>