LP1774892 release notes
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / bucket / record / t_search.tt2
1 <br/>
2
3 <!-- search bar -->
4 <div class="row">
5   <div class="col-md-6">
6     <form ng-submit="search()">
7       <div class="input-group">
8         <span class="input-group-addon">[% l('Record Query') %]</span>
9         <input type="text" class="form-control" focus-me="focusMe"
10         ng-model="bucketSvc.queryString" placeholder="[% l('Query...') %]">
11       </div>
12     </form>
13   </div>
14 </div>
15 <br/>
16 <div class="row" ng-show="searchInProgress">
17   <div class="col-md-6">
18     <div class="progress progress-striped active">
19         <div class="progress-bar"  role="progressbar" aria-valuenow="100" 
20               aria-valuemin="0" aria-valuemax="100" style="width: 100%">
21             <span class="sr-only">[% l('Searching...') %]</span>
22         </div>
23     </div>
24   </div>
25 </div>
26
27
28 <eg-grid
29   ng-hide="forbidden"
30   id-field="id"
31   idl-class="rmsr"
32   auto-fields="true"
33   grid-controls="gridControls"
34   menu-label="[% l('Buckets') %]"
35   persist-key="cat.bucket.record.search">
36
37   [% INCLUDE 'staff/cat/bucket/record/t_grid_menu.tt2' %]
38
39   <!-- actions drop-down -->
40   <eg-grid-action label="[% l('Add To Pending') %]"
41     handler="addToPending"></eg-grid-action>
42
43   <eg-grid-action label="[% l('Add To Bucket') %]" 
44     handler="addToBucket"></eg-grid-action>
45
46   <eg-grid-field label="[% l('Title') %]" path="title">
47     <a target="_blank" href="[% ctx.base_path %]/staff/cat/catalog/record/{{item.id}}">
48     {{item.title}} <span ng-show="item.id" class="glyphicon glyphicon-new-window"></span>
49     </a>
50   </eg-grid-field>
51 </eg-grid>