]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/cat/authority/list.tt2
More config docs for SFX resolver TTOPAC bits
[working/Evergreen.git] / Open-ILS / web / templates / default / cat / authority / list.tt2
1 [% ctx.page_title = 'Authority record list' %]
2 [% WRAPPER default/base.tt2 %]
3
4 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/cat/authority/list.js'> </script>
5
6 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
7     <span style="white-space: nowrap;">
8         <label for="authTerm">Search term: </label>
9         <input type="text" name="authTerm" value="" dojoType="dijit.form.TextBox" trim="true" id="authTerm" propercase="false"/>
10     </span>
11     <span style="white-space: nowrap;">
12         <label for="authAxis">Authority type: </label>
13         <select type="text" name="authAxis" value="" dojoType="dijit.form.FilteringSelect" trim="true" id="authAxis" propercase="false" style="width: 10em;">
14             <option value="authority.author">Author</option>
15             <option value="authority.subject">Subject</option>
16             <option value="authority.title">Title</option>
17             <option value="authority.topic">Topic</option>
18         </select>
19     </span>
20 <!-- Not currently useful - see authOUListInit() above -->
21 <!--    <label for="authOU">Library: </label><select dojoType="openils.widget.OrgUnitFilteringSelect" id="authOU" name="authOU" searchAttr="shortname" labelAttr="shortname"></select> -->
22
23     <span style="white-space: nowrap;">
24         <span dojoType="dijit.form.Button" type="button" value="Previous">Previous
25             <script type="dojo/method" event="onClick" args="evt">
26                 displayRecords({"page":"prev"});
27             </script>
28         </span>
29
30         <label for="authPage">Page: </label>
31         <input dojoType="dijit.form.NumberSpinner" value="0" constraints="{min:-100,max:100,places:0}" smallDelta="1" id="authPage" name="authPage" style="width:5em;" />
32
33         <span dojoType="dijit.form.Button" type="button" value="Next">Next
34             <script type="dojo/method" event="onClick" args="evt">
35                 displayRecords({"page":"next"});
36             </script>
37         </span>
38     </span>
39
40     <span style="white-space: nowrap;">
41         <span dojoType="dijit.form.Button" type="button" value="Submit">Submit
42             <script type="dojo/method" event="onClick" args="evt">
43                 displayRecords();
44             </script>
45         </span>
46     </span>
47 </div>
48
49 <hr />
50
51 <div id='mergebox-div' class='hidden' style='float:right; border: 4px solid; width: 25%;'>
52     <div style="border-bottom: 4px solid; text-align: center;">
53         <div dojoType="dijit.form.Form" encType="multipart/form-data" action="" method="">
54             <div dojoType="dijit.form.Button" type="button" value="Merge">Merge
55                 <script type="dojo/method" event="onClick" args="evt">
56                     mergeRecords();
57                 </script>
58             </div>
59             <div dojoType="dijit.form.Button" type="button" value="Clear">Clear
60                 <script type="dojo/method" event="onClick" args="evt">
61                     clearMergeRecords();
62                 </script>
63             </div>
64         </div>
65     </div>
66     <table>
67         <tbody id='mergebox-tbody'>
68         </tbody>
69     </table>
70 </div>
71
72
73 <div id='authlist-div'></div>
74
75 [% END %]