-
Notifications
You must be signed in to change notification settings - Fork 0
/
toreadcontrols.html
18 lines (18 loc) · 1.23 KB
/
toreadcontrols.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="controls row form-inline">
<div class="col-md-6">
<input class="btn btn-default" type="button" value="← Previous" ng-click="changePage(-1)" ng-disabled="actionInProgress || offset == 0">
<input class="btn btn-default" type="button" value="Next →" ng-click="changePage(1)" ng-disabled="actionInProgress || offset + limit >= info.total">
<input class="btn btn-default" type="button" value="Delete selected" ng-click="deleteSelected()" ng-disabled="actionInProgress || selectedItems.length == 0">
</div>
<div class="col-md-6">
<div class="search input-group has-feedback">
<input class="form-control" ng-class="{'alert-info': q != ''}" name="q" type="text" value="" placeholder="Search" ng-model="q" ng-change="offset = 0; showList()" ng-disabled="actionInProgress" accesskey="s">
<span class="glyphicon glyphicon-search form-control-feedback" ng-class="{hidden: q != ''}" aria-hidden="true"></span>
<span class="input-group-btn">
<button class="btn btn-default" ng-class="{hidden: q == ''}" type="button" aria-label="Clear search" ng-click="clearSearch($event)">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</span>
</div>
</div>
</div>