editor.html 1.3 KB

1234567891011121314151617181920212223
  1. <div class="row-fluid" ng-controller="hits">
  2. <div class="span2">
  3. <label class="small">Run Query</label><input type="checkbox" ng-model="panel.run_query" ng-checked="panel.run_query">
  4. </div>
  5. <div class="span9" ng-show='!panel.run_query'>
  6. With query running disabled, this panel receives its hit count from a histogram panel. If multiple queries are running this <strong>will show the total of all queries</strong>.
  7. </div>
  8. <div class="span9" ng-show='panel.run_query'>
  9. This shows a simple count of how many records match your filtered query. If multiple queries are sent from a single panel the <strong>first query will be displayed</strong>
  10. </div>
  11. </div>
  12. <div class="row-fluid">
  13. <div class="span9" ng-show='panel.run_query'>
  14. <form class="input-append">
  15. <h6>Query</h6>
  16. <input type="text" style="width:85%" ng-model="panel.query">
  17. <button class="btn" ng-click="get_data();"><i class="icon-search"></i></button>
  18. </form>
  19. </div>
  20. <div class="span3"><h6>Font Size</h6>
  21. <select class="input-small" ng-model="panel.style['font-size']" ng-options="f for f in ['6pt','7pt','8pt','10pt','12pt','14pt','16pt','18pt','20pt','24pt','28pt','32pt','36pt','42pt','48pt','52pt','60pt','72pt']"></select></span>
  22. </div>