initial merge/overlay profile editor ui
[working/Evergreen.git] / Open-ILS / web / templates / default / vandelay / inc / upload.tt2
1 <h1>&vandelay.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>&vandelay.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'>&vandelay.bib.records;</option>
11                     <option value='auth'>&vandelay.auth.records;</option>
12                 </select>
13             </td>
14         </tr>
15         <tr>
16             <td>&vandelay.create.upload.queue;</td>
17             <td>
18                 <input type='text' dojoType='dijit.form.TextBox' id='vl-queue-name' size='32'></input>
19             </td>
20             <td>&vandelay.add.existing.queue;</td>
21             <td>
22                 <select jsId='vlUploadQueueSelector' dojoType='dijit.form.FilteringSelect'>
23                 </select>
24             </td>
25         </tr>
26         <tr>
27             <td>&vandelay.auto.import.noncolliding;</td>
28             <td colspan='4'>
29                 <input jsId='vlUploadQueueAutoImport' dojoType='dijit.form.CheckBox'/>
30             </td>
31         </tr>
32         <tr>
33             <td>&vandelay.auto.import.auto_overlay_exact;</td>
34             <td colspan='4'>
35                 <input jsId='vlUploadQueueAutoOverlayExact' dojoType='dijit.form.CheckBox'/>
36             </td>
37         </tr>
38         <tr>
39             <td>Import Attached Holdings</td>
40             <td colspan='4'>
41                 <input jsId='vlUploadQueueHoldingsImport' dojoType='dijit.form.CheckBox'/>
42             </td>
43         </tr>
44         <tr>
45             <td>Holdings Import Profile</td>
46             <td>
47                 <input jsId='vlUploadQueueHoldingsImportProfile'
48                     dojoType='dijit.form.FilteringSelect' labelAttr='name' searchAttr='name'/>
49             </td>
50         </tr>
51         <tr>
52             <td>&vandelay.import.bib_sources;</td>
53             <td>
54                 <select name='bib_source' jsId='vlUploadSourceSelector' 
55                     dojoType='dijit.form.FilteringSelect' labelAttr='source' searchAttr='source'/>
56             </td>
57         </tr>
58         <tr>
59             <td>
60                 <span id="vl-file-label">&vandelay.file.to.upload;</span>
61             </td>
62             <td id='vl-input-td' colspan='4'>
63                 <input size='48' type="file" name="marc_upload"/>
64             </td>
65         </tr>
66         <tr>
67             <td align='center' colspan='4'>
68                 <button dojoType="dijit.form.Button" onclick="batchUpload()">&vandelay.upload;</button>
69             </td>
70         </tr>
71     </table>
72 </form>
73