]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/vandelay/vandelay.html
f98d063f1a1d64b0ec6bab6194c3e8d4a6b67d65
[Evergreen.git] / Open-ILS / web / vandelay / vandelay.html
1 <!--
2 # Copyright (C) 2008  Georgia Public Library Service
3 # Bill Erickson <erickson@esilibrary.com>
4
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 -->
15 <html>
16     <head>
17         <title>Vandelay</title>
18         <style type="text/css">
19             @import "/js/dojo/dojo/resources/dojo.css";
20             @import "/js/dojo/dijit/themes/tundra/tundra.css";
21             @import "/js/dojo/dijit/tests/css/dijitTests.css"; 
22             td { padding: 6px; }
23         </style>
24         <script type="text/javascript" djConfig="parseOnLoad: true" src="/js/dojo/dojo/dojo.js"></script>
25         <script type="text/javascript" src='vandelay.js'></script>
26     </head>
27     <body class="tundra">
28         <!-- MARC upload form -->
29         <div id='vl-marc-upload-div'>
30             <h1>Evergreen MARC File Upload</h1>
31             <form id="vl-marc-upload-form" enctype="multipart/form-data">
32                 <input type='hidden' name='ses' id='vl-ses-input'/>
33                 <br>
34                 <table>
35                     <tr>
36                         <td>Queue Name</td>
37                         <td>
38                             <input type='text' dojoType='dijit.form.TextBox' id='vl-queue-name' size='32'></input>
39                         </td>
40                     </tr>
41                     <tr>
42                         <td>Record Type</td>
43                         <td>
44                             <select id='vl-record-type' dojoType='dijit.form.FilteringSelect'>
45                                 <option value='bib'>Bibliographic Records</option>
46                                 <option value='auth'>Authority Records</option>
47                             </select>
48                         </td>
49                     </tr>
50                     <tr>
51                         <td>Purpose</td>
52                         <td>
53                             <select name='purpose' dojoType='dijit.form.FilteringSelect'>
54                                 <option value='import'>Import</option>
55                             </select>
56                         </td>
57                     </tr>
58                     <tr>
59                         <td>
60                             <span id="vl-file-label">File to Upload:</span><br>
61                             <span id="vl-file-uploading" style='display:none;'>Uploading...</span><br>
62                         </td>
63                         <td id='vl-input-td'>
64                             <input size='48' type="file" name="marc_upload">
65                         </td>
66                     </tr>
67                     <tr>
68                         <td colspan='2'>
69                             <span id="vl-upload-progress-span" style="display:none;">
70                                 <div dojoType="dijit.ProgressBar" style="width:200px" indeterminate="true"></div>
71                             </span>
72                         </td>
73                     </tr>
74                     <tr>
75                         <td colspan='2' align='center'>
76                             <button dojoType="dijit.form.Button" onclick="batchUpload()">Upload</button>
77                         </td>
78                     </tr>
79                 </table>
80             </form>
81         </div>
82     </body>
83 </html>