Added close button, related fields to micropanel

This commit is contained in:
Rashid Khan
2013-02-20 14:00:28 -07:00
parent 985099e90e
commit 8640830188
10 changed files with 49 additions and 57 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
<kibana-panel ng-controller='stringquery'>
<form class="input-append" style="margin-bottom:0px; width:100%; white-space:nowrap;">
<label><small>{{panel.label}}</small></label>
<input type="text" ng-model="panel.query" style="width:90%">
<button type="submit" class="btn" ng-click="send_query(panel.query)"><i class="icon-search"></i></button>
<input type="text" ng-model="panel.query" style="width:85%">
<button type="submit" class="btn btn-info" ng-click="send_query(panel.query)"><i class="icon-search"></i></button>
<button type="submit" class="btn btn-danger" ng-click="panel.query='';send_query(panel.query)"><i class="icon-ban-circle"></i></button>
</form>
</kibana-panel>