]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/staff/cat/z3950/t_list.tt2
webstaff: Z39.50 search and import interface
[working/Evergreen.git] / Open-ILS / src / templates / staff / cat / z3950 / t_list.tt2
1 <div class="row">
2     <div class="col-xs-6">
3         <strong>[% l('Query') %]</strong>
4         <form ng-keyup="$event.keyCode == 13 && search()">
5         <eg-z3950-search-field-list></eg-z3950-search-field-list>
6         </form>
7     </div>
8     <div class="col-xs-6">
9         <strong>[% l('Service and Credentials') %]</strong>
10         <eg-z3950-target-list>
11     </div>
12 </div>
13
14 <div class="row" id="z3950-search-form-row">
15     <form ng-submit="search()" id="z3950-search-form"
16         role="form" class="form-inline">
17         <div class="button-group">
18                 <input type="submit" class="btn btn-primary" value="[% l('Search') %]"/>
19
20                 <input type="reset" class="btn btn-primary" ng-click="clearForm()"
21                 value="[% l('Clear Form') %]"/>
22         </div>
23     </form>
24 </div>
25
26 <eg-grid
27   id-field="index"
28   idl-class="mvr"
29   features="-display,-sort,-multisort"
30   main-label="[% l('Results') %]"
31   items-provider="z3950SearchGridProvider"
32   grid-controls="gridControls"
33   persist-key="cat.z3950_results">
34
35   <eg-grid-menu-item handler="showInCatalog" disabled="cant_showInCatalog"
36     label="[% l('Show in Catalog') %]"></eg-grid-menu>
37   <eg-grid-menu-item handler="import" disabled="cant_import"
38     label="[% l('Import') %]"></eg-grid-menu>
39
40     <!-- 
41       FIXME: it would be nice to make this column link
42       to record display page when the service is
43       'native-evergreen-catalog', but can't do ng-if
44       inside of column value templates at the moment
45     -->
46     <eg-grid-field label="[% l('Title') %]" path="title" visible></eg-grid-field>
47     <eg-grid-field label="[% l('Author') %]" path="author" visible></eg-grid-field>
48     <eg-grid-field label="[% l('Edition') %]" path="edition" visible></eg-grid-field>
49     <eg-grid-field label="[% l('ISBN') %]" path="isbn" visible></eg-grid-field>
50     <eg-grid-field label="[% l('Publication Date') %]" path="pubdate" visible></eg-grid-field>
51     <eg-grid-field label="[% l('Publisher') %]" path="publisher" visible></eg-grid-field>
52     <eg-grid-field label="[% l('Service') %]" path="service" visible></eg-grid-field>
53     <eg-grid-field label="[% l('TCN') %]" path="tcn" visible></eg-grid-field>
54     <eg-grid-field label
55     <eg-grid-field path="*" hidden></eg-grid-field>
56 </eg-grid>