editor.html 1.7 KB

1234567891011121314151617181920212223
  1. <div ng-controller="stringquery">
  2. <div class="row-fluid">
  3. <div class="span3">
  4. <label class="small">Mulit Query</label><input type="checkbox" ng-change="set_multi(panel.multi) "ng-model="panel.multi" ng-checked="panel.multi">
  5. </div>
  6. <div class="span4" ng-show="panel.multi">
  7. <label class="small">Multiquery Arrangement</label>
  8. <select class="input-medium" ng-model="panel.multi_arrange" ng-options="f for f in ['vertical','horizontal']"></select>
  9. </div>
  10. <div class="span4" style="white-space:nowrap">
  11. <label class="small">Sort</label>
  12. <input ng-show="all_fields.length<=0 || !all_fields"style="width:85%" ng-model="panel.sort[0]" type="text"></input>
  13. <select ng-show="all_fields.length>0"style="width:85%" ng-model="panel.sort[0]" ng-options="f for f in all_fields"></select>
  14. <i ng-click="set_sort(panel.sort[0])" ng-class="{'icon-chevron-up': panel.sort[1] == 'asc','icon-chevron-down': panel.sort[1] == 'desc'}"></i>
  15. </div>
  16. </div>
  17. <div class="row-fluid" ng-show="panel.multi">
  18. <div class="span12">
  19. <h5>A note on multi query panels</h5>
  20. <p>You turned on multi panel support: <i>cool</i>. Be aware that not all panels support display of multiple queries. Panels that don't support receiving several queries at one time will (should) display the results of the <strong>first query in the list</strong>. Further, some panels might not support receiving multiple queries in all modes. For example, the <strong>pie panel</strong> supports multiple queries only in <strong>query mode</strong>. In its other modes it will display the results of the first query in the list</p>
  21. </div>
  22. </div>
  23. </div>