module.html 1.2 KB

1234567891011121314151617181920212223242526272829
  1. <kibana-panel ng-controller='derivequeries' ng-init="init()">
  2. <span ng-show='panel.spyable' style="position:absolute;right:0px;top:0px" class='panelextra pointer'>
  3. <i bs-modal="'partials/modal.html'" class="icon-eye-open"></i>
  4. </span>
  5. <div ng-show="!panel.multi">
  6. <form>
  7. <table class="form-horizontal">
  8. <tr>
  9. <td><label><small>{{panel.label}}</small></label></td>
  10. <td><label><small>Field</small></label></td>
  11. </tr>
  12. <tr>
  13. <td width="97%" style="padding-right:20px">
  14. <input type="text" style="width:100%" ng-model="panel.query">
  15. </td>
  16. <td>
  17. <select class="input-small" ng-model="panel.field" ng-options="f for f in fields"></select>
  18. </td>
  19. <td style="margin-left:20px" width="1%">
  20. <button style="margin-top:0px" type="submit" class="btn btn-info" ng-click="get_data()"><i class="icon-search"></i></button>
  21. </td>
  22. <td width="1%">
  23. <button style="margin-top:0px" type="submit" class="btn btn-danger" ng-click="panel.query='';get_data()"><i class="icon-ban-circle"></i></button>
  24. </td>
  25. <tr>
  26. </table>
  27. </form>
  28. </div>
  29. </kibana-panel>