]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/templates/cat/authority/list.tt2
216a4cb8a7db25b4a413b7d2b225e11bfb713678
[working/Evergreen.git] / Open-ILS / src / templates / cat / authority / list.tt2
1 [% ctx.page_title = 'Authority record list' %]
2 [% WRAPPER base.tt2 %]
3
4 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/cat/authority/list.js'> </script>
5 <style type="text/css">
6     .authEntry { clear: both; }
7     .authEntry > *:first-child { float: left; width: 20%; }
8     .authEntry > .text { float: left; width: 46%; }
9     .authEntry > .authority-control-set { float: right; width: 33%; ; font-style: italic; }
10     .authority-control-set .acs-name { font-weight: bold; }
11     .authority-control-set .acs-id { }
12 </style>
13 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
14     <span style="white-space: nowrap;">
15         <label for="authTerm">Search term: </label>
16         <input type="text" name="authTerm" value="" dojoType="dijit.form.TextBox" trim="true" id="authTerm" propercase="false"/>
17     </span>
18     <span style="white-space: nowrap;">
19         <label for="authAxis">Authority type: </label>
20         <input
21             id="authAxis"
22             name="authAxis"
23             jsId="authAxis"
24             dojoType="openils.widget.PCrudAutocompleteBox"
25             fmclass="aba"
26             searchAttr="name"
27             fetchProperties="{ sort: [{attribute:'name'}] }"
28             propercase="false"
29             hasDownArrow="true"
30             store_options="{ honor_retrieve_all:true }"
31             trim="true"
32         />
33     </span>
34 <!-- Not currently useful - see authOUListInit() above -->
35 <!--    <label for="authOU">Library: </label><select dojoType="openils.widget.OrgUnitFilteringSelect" id="authOU" name="authOU" searchAttr="shortname" labelAttr="shortname"></select> -->
36
37     <span style="white-space: nowrap;">
38         <span dojoType="dijit.form.Button" type="button" value="Previous">Previous
39             <script type="dojo/method" event="onClick" args="evt">
40                 displayRecords({"page":"prev"});
41             </script>
42         </span>
43
44         <label for="authPage">Page: </label>
45         <input dojoType="dijit.form.NumberSpinner" value="0" constraints="{min:-100,max:100,places:0}" smallDelta="1" id="authPage" name="authPage" style="width:5em;" />
46
47         <span dojoType="dijit.form.Button" type="button" value="Next">Next
48             <script type="dojo/method" event="onClick" args="evt">
49                 displayRecords({"page":"next"});
50             </script>
51         </span>
52     </span>
53
54     <span style="white-space: nowrap;">
55         <span dojoType="dijit.form.Button" type="button" value="Submit">Submit
56             <script type="dojo/method" event="onClick" args="evt">
57                 displayRecords();
58             </script>
59         </span>
60     </span>
61 </div>
62
63 <hr />
64
65 <div id='mergebox-div' class='hidden' style='float:right; border: 4px solid; width: 25%;'>
66     <div style="border-bottom: 4px solid; text-align: center;">
67         <div dojoType="dijit.form.Form" encType="multipart/form-data" action="" method="">
68             <div dojoType="dijit.form.Button" type="button" value="Merge">Merge
69                 <script type="dojo/method" event="onClick" args="evt">
70                     mergeRecords();
71                 </script>
72             </div>
73             <div dojoType="dijit.form.Button" type="button" value="Clear">Clear
74                 <script type="dojo/method" event="onClick" args="evt">
75                     clearMergeRecords();
76                 </script>
77             </div>
78         </div>
79     </div>
80     <table>
81         <tbody id='mergebox-tbody'>
82         </tbody>
83     </table>
84 </div>
85
86
87 <div id='authlist-div'></div>
88
89 [% END %]