1 [% ctx.page_title = l('Authority record list') %]
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 { float: right; width: 33%; ; font-style: italic; }
10 .authority-control-set .acs-name { font-weight: bold; }
11 .authority-control-set .acs-id { }
12 .authEntry:nth-child(even) { background-color:#D3D3D3;}
14 <div dojoType="dijit.form.Form" id="myForm" jsId="myForm" encType="multipart/form-data" action="" method="">
15 <span style="white-space: nowrap;">
16 <label for="authTerm">[% l('Search term: ') %]</label>
17 <input type="text" name="authTerm" value="" dojoType="dijit.form.TextBox" trim="true" id="authTerm" propercase="false"/>
19 <span style="white-space: nowrap;">
20 <label for="authAxis">[% l('Authority type: ') %]</label>
25 dojoType="openils.widget.PCrudAutocompleteBox"
28 fetchProperties="{ sort: [{attribute:'name'}] }"
31 store_options="{ honor_retrieve_all:true }"
35 <!-- Not currently useful - see authOUListInit() above -->
36 <!-- <label for="authOU">[% l('Library: ') %]</label><select dojoType="openils.widget.OrgUnitFilteringSelect" id="authOU" name="authOU" searchAttr="shortname" labelAttr="shortname"></select> -->
38 <span style="white-space: nowrap;">
39 <span dojoType="dijit.form.Button" type="button" value="Previous">[% l('Previous') %]
40 <script type="dojo/method" event="onClick" args="evt">
41 displayRecords({"page":"prev"});
45 <label for="authPage">[% l('Page: ') %]</label>
46 <input dojoType="dijit.form.NumberSpinner" value="0" constraints="{min:-100,max:100,places:0}" smallDelta="1" id="authPage" name="authPage" style="width:5em;" />
48 <span dojoType="dijit.form.Button" type="button" value="Next">[% l('Next') %]
49 <script type="dojo/method" event="onClick" args="evt">
50 displayRecords({"page":"next"});
55 <span style="white-space: nowrap;">
56 <span dojoType="dijit.form.Button" type="button" value="Submit">[% l('Submit') %]
57 <script type="dojo/method" event="onClick" args="evt">
66 <div id='mergebox-div' class='hidden' style='float:right; border: 4px solid; width: 25%;'>
67 <div style="border-bottom: 4px solid; text-align: center;">
68 <div dojoType="dijit.form.Form" encType="multipart/form-data" action="" method="">
69 <div dojoType="dijit.form.Button" type="button" value="Merge">[% l('Merge') %]
70 <script type="dojo/method" event="onClick" args="evt">
74 <div dojoType="dijit.form.Button" type="button" value="Clear">[% l('Clear') %]
75 <script type="dojo/method" event="onClick" args="evt">
82 <tbody id='mergebox-tbody'>
88 <div id='authlist-div'></div>