-
Notifications
You must be signed in to change notification settings - Fork 17
/
sortParam.html
33 lines (28 loc) · 993 Bytes
/
sortParam.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<ul class="unstyled">
<li ng-repeat="p in param.parse">
<div class="input-append">
<select class="input-medium"
ng-model="p.selectField"
ng-options="field.name for field in displayCtrl.fields"
ng-change="updateApiCall()">
</select>
<select class="input-small"
ng-model="p.selectValue"
ng-options="direction for (key, direction) in param.type.directions"
ng-change="updateApiCall()">
</select>
<button class="btn"
type="button"
ng-click="param.parse.splice($index, 1)">
<i class="icon-trash"></i>
</button>
</div>
<li>
<li>
<button class="btn"
type="button"
ng-click="addFilterField(param.parse)">
<i class="icon-plus"></i> Add
</button>
</li>
</ul>