]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/vandelay/inc/queue.xml
d33e150f2a1d93e901271fc2ba782333712a106a
[working/Evergreen.git] / Open-ILS / web / vandelay / inc / queue.xml
1 <h1>&vandelay.record.queue;</h1><br/>
2 <script>
3     var vlQueueGridLayout;
4     function resetVlQueueGridLayout() {
5         vlQueueGridLayout = [{
6             defaultCell: {styles: 'text-align: center;'},
7             cells : [[
8                 {name: '&lt;input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>', 
9                     get: vlQueueGridDrawSelectBox },
10                 {   name: '&vandelay.view.marc;', 
11                     get: vlGetViewMARC, 
12                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
13                         'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;&lt;/a>'
14                 },
15                 {   name: '&vandelay.matches;', 
16                     get: vlGetViewMatches,
17                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;&lt;/a>'
18                 },
19                 {name: '&vandelay.import.time;', field:'import_time', get:vlGetDateTimeField, selectableColumn:true}
20             ]]
21         }];
22     }
23 </script>
24 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
25
26     <!-- column picker dialog -->
27     <div dojoType="dijit.Dialog" jsId='vlQueueGridColumePickerDialog' title="Column Picker" execute="alert(2);">
28         <table class='form_table'>
29             <thead>
30                 <tr><th width='33%'>&vandelay.column;</th><th width='33%'>&vandelay.display;</th><th width='33%'>&vandelay.auto.width;</th></tr>
31             </thead>
32             <tbody>
33                 <tr>
34                     <td colspan='3' align='center'>
35                         <button jsId='vlQueueGridColumnPickerButton' 
36                             onclick='vlQueueGridColumePickerDialog.hide();vlQueueGridColumePicker.update();' 
37                             dojoType='dijit.form.Button'>&vandelay.done;</button>
38                     </td>
39                 </tr>
40             </tbody>
41         </table>
42     </div>
43
44     <!-- queue grid navigation row -->
45     <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
46         <table width='100%' style='margin-bottom:0px;'>
47             <tr>
48                 <td align='left'>
49                     <button dojoType='dijit.form.Button' onclick='vlImportSelectedRecords();'>&vandelay.import.selected;</button>
50                     <button dojoType='dijit.form.Button' onclick="
51                         if(confirm('&vandelay.sure.to.delete.queue;')) {
52                             vlDeleteQueue(currentType, currentQueueId, 
53                                 function() { displayGlobalDiv('vl-marc-upload-div'); });
54                         }">&vandelay.delete.queue;</button>
55                 </td>
56                 <td align='middle'>
57                     <style>.filter_td { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
58                     <table><tr>
59                         <td class='filter_td'>
60                             &vandelay.limit.to.collision.matches;
61                             <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches'/>
62                         </td>
63                         <td class='filter_td' style='padding-left:5px;'>
64                             &vandelay.limit.to.non.imported;
65                             <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked'/>
66                         </td>
67                         <td class='filter_td' style='padding-left:5px;'>
68                             &vandelay.results.per.page; 
69                             <select style='width:68px;' jsId='vlQueueDisplayLimit' dojoType='dijit.form.FilteringSelect' value='10'>
70                                 <option value='10'>10</option>
71                                 <option value='20'>20</option>
72                                 <option value='50'>50</option>
73                                 <option value='100'>100</option>
74                             </select>
75                         </td>
76                         <td class='filter_td' style='padding-left:5px;'>
77                             &vandelay.page; <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
78                         </td>
79                         <td style='padding-left:5px;'>
80                             <button dojoType='dijit.form.Button' 
81                                 onclick='retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords)'>&vandelay.refresh;</button>
82                         </td>
83                     </tr></table>
84                 </td>
85                 <td align='right' valign='bottom'>
86                     <span style='padding-right:4px;'>
87                         <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>&#171; &vandelay.prev.page;</a>
88                     </span>
89                     <span style='padding-right:10px;'>
90                         <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; &#187;</a>
91                     </span>
92                     <span style='background:#e8e1cf;padding:3px 0px 0px 6px;-moz-border-radius:6px 0px 0px 0px;'>
93                         <a href='javascript:void(0);' onclick='vlQueueGridColumePickerDialog.show();'>&vandelay.select.cols;</a>
94                     </span>
95                 </td>
96             </tr>
97         </table>
98     </div>
99
100     <!-- Queue Grid -->
101     <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
102         <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>
103     </div>
104 </div>
105