4db970d7b4dd15ae98176a50a06d53dc20e49ae8
[working/Evergreen.git] / Open-ILS / src / templates / vandelay / inc / upload.tt2
1 <h1>[% l('Evergreen MARC File Upload') %]</h1><br/>
2 <form id="vl-marc-upload-form" enctype="multipart/form-data">
3     <input type='hidden' name='ses' id='vl-ses-input'/>
4     <table class='form_table'>
5         <tr>
6             <td>[% l('Record Type') %]</td>
7             <td colspan='4'>
8                 <select id='vl-record-type' dojoType='dijit.form.FilteringSelect' 
9                         jsId='vlUploadRecordType' onchange='vlShowUploadForm();'>
10                     <option value='bib' selected='selected'>[% l('Bibliographic Records') %]</option>
11                     <option value='auth'>[% l('Authority Records') %]</option>
12                     <option value='bib-acq'>[% l('Acquisitions Records') %]</option>
13                 </select>
14             </td>
15         </tr>
16         <tr>
17             <td>[% l('Create a New Upload Queue') %]</td>
18             <td>
19                 <input type='text' dojoType='dijit.form.TextBox' id='vl-queue-name' size='32'></input>
20             </td>
21             <td>[% l('or Add to an Existing Queue') %]</td>
22             <td>
23                 <select jsId='vlUploadQueueSelector' dojoType='dijit.form.FilteringSelect' required='false'>
24                 </select>
25             </td>
26         </tr>
27         <tr>
28             <td>[% l('Record Match Set') %]</td>
29             <td>
30                 <input jsId='vlUploadQueueMatchSet'
31                     dojoType='dijit.form.FilteringSelect' labelAttr='name' searchAttr='name'/>
32             </td>
33             <td>[% l('Limit matches to bucket') %]</td>
34             <td>
35                 <input jsId='vlUploadQueueMatchBucket'
36                     dojoType='dijit.form.FilteringSelect' labelAttr='name' searchAttr='name'/>
37             </td>
38         </tr>
39         <tr>
40             <td>[% l('Holdings Import Profile') %]</td>
41             <td>
42                 <input jsId='vlUploadQueueHoldingsImportProfile'
43                     dojoType='dijit.form.FilteringSelect' labelAttr='name' searchAttr='name'/>
44             </td>
45         </tr>
46         <tr>
47             <td>[% l('Select a Record Source') %]</td>
48             <td>
49                 <select name='bib_source' jsId='vlUploadSourceSelector' 
50                     dojoType='dijit.form.FilteringSelect' labelAttr='source' searchAttr='source'/>
51             </td>
52         </tr>
53         <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
54             <b>[% l('Record Import Actions') %]</b>
55         </td></tr>
56         <tr>
57             <td>[% l('Merge Profile') %]</td>
58             <td colspan='4'>
59                 <div jsId='vlUploadMergeProfile' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
60             </td>
61         </tr>
62         <tr>
63             <td>[% l('Import Non-Matching Records') %]</td>
64             <td colspan='4'>
65                 <input jsId='vlUploadQueueImportNoMatch' dojoType='dijit.form.CheckBox'/>
66             </td>
67         </tr>
68         <tr>
69             <td>[% l('Merge On Exact Match (901c)') %]</td>
70             <td colspan='4'>
71                 <input jsId='vlUploadQueueAutoOverlayExact' dojoType='dijit.form.CheckBox'/>
72             </td>
73         </tr>
74         <tr>
75             <td>[% l('Merge On Single Match') %]</td>
76             <td colspan='4'>
77                 <input jsId='vlUploadQueueAutoOverlay1Match' dojoType='dijit.form.CheckBox'/>
78             </td>
79         </tr>
80         <tr>
81             <td>[% l('Merge On Best Match') %]</td>
82             <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch' dojoType='dijit.form.CheckBox'/></td>
83         </tr>
84         <tr>
85             <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
86             <td colspan='4'>
87                 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio' dojoType='dijit.form.TextBox'/>
88                 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
89             </td>
90         </tr>
91         <tr>
92             <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
93             <td colspan='4'>
94                 <div jsId='vlUploadFtMergeProfile' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
95             </td>
96         </tr>
97         <tr id='vl-trash-groups-row'>
98             <td>[% l('Remove MARC Field Groups') %]</td>
99             <td colspan='4'>
100                 <select style='overflow-y:auto; height:6em; width:12em' multiple='true' 
101                     jsId="vlUploadTrashGroups" 
102                     dojoType="dojox.form.CheckedMultiSelect">
103                 </select>
104             </td>
105         </tr>
106         <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
107             <b>[% l('Copy Import Actions') %]</b>
108         </td></tr>
109         <tr>
110             <td>[% l('Auto-overlay In-process Acquisitions Copies') %]</td>
111             <td colspan='4'><input jsId='vlUploadQueueAutoOverlayInprocessAcqCopies' dojoType='dijit.form.CheckBox'/></td>
112         </tr>
113
114         <tr><td colspan='2' style='border-bottom:2px solid #888;'></td></tr>
115         <tr><td colspan='2' style='padding-bottom: 10px;'></td></tr>
116         <tr>
117             <td colspan='5'>
118                 <span id="vl-file-label">[% l('File to Upload:') %]</span>
119                 <input size='48' style='border:1px solid #888;' type="file" name="marc_upload"/>
120                 <span style='margin-left:10px;'><button dojoType="dijit.form.Button" onclick="batchUpload()">[% l('Upload') %]</button></span>
121             </td>
122         </tr>
123     </table>
124 </form>
125