Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions panels/hits/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h5>Queries</h5>
<input type="text" placeholder="New Label" style="width:70%" ng-model="newlabel">
</form>
</div>
<div class="span8">
<div class="span6">
<form class="input-append" style="margin-bottom: 0px">
<label class="small">Query</label>
<input type="text" placeholder="New Query" style="width:80%" ng-model="newquery">
Expand All @@ -50,12 +50,25 @@ <h5>Queries</h5>
<input type="text" style="width:70%" ng-model="q.label" ng-change="set_refresh(true)">
</form>
</div>
<div class="span8">
<div class="span6">
<form class="input-append" style="margin-bottom: 0px">
<input type="text" style="width:80%" ng-model="q.query" ng-change="set_refresh(true)">
<button class="btn" ng-click="get_data()"><i class="icon-search"></i></button>
</form>
</div>
<div class="span2">
<select style="width:80%" ng-change="set_refresh(true)" class="input-small" ng-model="q.color">
<option value="#86B22D" style="background-color:#86B22D;">Green</option>
<option value="#BFB930" style="background-color:#BFB930;">Yellow</option>
<option value="#BF6730" style="background-color:#BF6730;">Orange</option>
<option value="#BF3030" style="background-color:#BF3030;">Red</option>
<option value="#1D7373" style="background-color:#1D7373;">Blue</option>
<option value="#77207D" style="background-color:#77207D;">Purple</option>
<option value="#FF0FF7" style="background-color:#FF0FF7;">Pink</option>
<option value="#05FFBC" style="background-color:#05FFBC;">Cyan</option>
<option value="#020AFF" style="background-color:#020AFF;">Dark Blue</option>
</select>
</div>
<div class="span1">
<i class="icon-remove pointer" ng-click="remove_query(q)"></i>
</div>
Expand Down