]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/vandelay/vandelay.html
using addOnLoad (thanks, dbs). using atomic version of queued record fetcher to...
[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             @import "/js/dojo/dojox/grid/_grid/Grid.css";
23             td { padding: 6px; }
24         </style>
25         <script type="text/javascript" djConfig="parseOnLoad: true,isDebug:false" src="/js/dojo/dojo/dojo.js"></script>
26         <script type="text/javascript" src='vandelay.js'></script>
27     </head>
28     <body class="tundra" style='height:100%;'>
29         <div id="vl-generic-progress" style='width:100%;text-align:center'>
30             <div dojoType="dijit.ProgressBar" style="width:200px" indeterminate="true"></div>
31         </div>
32
33         <!-- MARC upload form -->
34         <div id='vl-marc-upload-div' style='display:none;'>
35             <h1>Evergreen MARC File Upload</h1>
36             <form id="vl-marc-upload-form" enctype="multipart/form-data">
37                 <input type='hidden' name='ses' id='vl-ses-input'/>
38                 <br>
39                 <table>
40                     <tr>
41                         <td>Queue Name</td>
42                         <td>
43                             <input type='text' dojoType='dijit.form.TextBox' id='vl-queue-name' size='32'></input>
44                         </td>
45                     </tr>
46                     <tr>
47                         <td>Record Type</td>
48                         <td>
49                             <select id='vl-record-type' dojoType='dijit.form.FilteringSelect'>
50                                 <option value='bib'>Bibliographic Records</option>
51                                 <option value='auth'>Authority Records</option>
52                             </select>
53                         </td>
54                     </tr>
55                     <tr>
56                         <td>Purpose</td>
57                         <td>
58                             <select name='purpose' dojoType='dijit.form.FilteringSelect'>
59                                 <option value='import'>Import</option>
60                             </select>
61                         </td>
62                     </tr>
63                     <tr>
64                         <td>
65                             <span id="vl-file-label">File to Upload:</span><br>
66                             <span id="vl-file-uploading" style='display:none;'>Uploading...</span><br>
67                         </td>
68                         <td id='vl-input-td'>
69                             <input size='48' type="file" name="marc_upload">
70                         </td>
71                     </tr>
72                     <tr>
73                         <td colspan='2'>
74                             <span id="vl-upload-progress-span" style="display:none;">
75                                 <div dojoType="dijit.ProgressBar" style="width:200px" indeterminate="true"></div>
76                             </span>
77                         </td>
78                     </tr>
79                     <tr>
80                         <td colspan='2' align='center'>
81                             <button dojoType="dijit.form.Button" onclick="batchUpload()">Upload</button>
82                         </td>
83                     </tr>
84                 </table>
85             </form>
86         </div>
87         <div id='vl-queue-div' style='display:none;height:100%;'>
88             <h1>Record Queue</h1><br/>
89             <div style='height:100%;'>
90                 <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>
91             </div>
92         </div>
93     </body>
94 </html>