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