4 <h1>&vandelay.record.queue; <span style='font-style:italic;' id='vl-queue-summary-name'/></h1><br/>
7 &vandelay.queue.total; <span style='font-weight:bold;' id='vl-queue-summary-total-count'/>
8 &vandelay.queue.imported; <span style='font-weight:bold;' id='vl-queue-summary-import-count'/>
13 var vlQueueGridLayout;
14 function resetVlQueueGridLayout() {
15 vlQueueGridLayout = [{
18 name: '<input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>',
19 get: vlQueueGridDrawSelectBox,
20 styles : 'text-align: center;',
23 name: '&vandelay.view.marc;',
24 get: vlGetViewMARC, styles : 'text-align: center;',
25 value: '<a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
26 'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;</a>',
29 name: '&vandelay.matches;',
30 get: vlGetViewMatches, styles : 'text-align: center;',
31 value:'<a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;</a>',
34 name: '&vandelay.import.time;', field:'import_time', styles : 'text-align: center;',
35 get:vlGetDateTimeField,
41 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
43 <!-- queue grid navigation row -->
44 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
45 <table width='100%' style='margin-bottom:0px;'>
47 <td align='left' valign='bottom'>
48 <select id='vl-queue-actions-selector'>
49 <option selected='selected' disabled='disabled' value='select-actions'>&vandelay.select_actions;</option>
50 <option value='import'>&vandelay.import.selected;</option>
51 <option value='import_all'>&vandelay.import.all;</option>
52 <option value='delete_queue'>&vandelay.delete.queue;</option>
55 var sel = dojo.byId('vl-queue-actions-selector');
56 sel.onchange = function(evt) {
57 switch(openils.Util.selectorValue(evt.target)) {
58 case 'import': vlImportSelectedRecords(); break;;
59 case 'import_all': vlImportAllRecords(); break;;
61 if(confirm('&vandelay.sure.to.delete.queue;')) {
62 vlDeleteQueue(currentType, currentQueueId,
63 function() { displayGlobalDiv('vl-marc-upload-div'); });
66 evt.target.selectedIndex = 0;
70 <td align='middle' valign='bottom'>
71 <style>.filter_span { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
74 <span>&vandelay.limit.to.collision.matches;</span>
75 <span class='filter_span'>
76 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
79 <span>&vandelay.limit.to.non.imported;</span>
80 <span class='filter_span'>
81 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked' onchange='retrieveQueuedRecords();'/>
84 <span>&vandelay.results.per.page;</span>
85 <span class='filter_span'>
86 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
87 value='10' onchange='retrieveQueuedRecords();'>
88 <option value='10'>10</option>
89 <option value='20'>20</option>
90 <option value='50'>50</option>
91 <option value='100'>100</option>
95 <span style='padding-left:5px;'>&vandelay.page;</span>
96 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
100 <td align='right' valign='bottom'>
101 <span style='padding-right:4px;'>
102 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>« &vandelay.prev.page;</a>
104 <span style='padding-right:10px;'>
105 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; »</a>
113 <div class='hidden' id='vl-bib-queue-grid-wrapper'>
114 <div dojoType="openils.widget.GridColumnPicker" jsid="vlBibQueueGridMenu" style="display: none;" grid='vlBibQueueGrid'>
115 <div dojoType="dojox.widget.PlaceholderMenuItem" label="GridColumns"></div>
117 <div style='height:600px' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
118 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" headerMenu='vlBibQueueGridMenu'>
122 <div class='hidden' id='vl-auth-queue-grid-wrapper'>
123 <div dojoType="openils.widget.GridColumnPicker" jsid="vlAuthQueueGridMenu" style="display: none;" grid='vlAuthQueueGrid'>
124 <div dojoType="dojox.widget.PlaceholderMenuItem" label="GridColumns"></div>
126 <div style='height:600px' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
127 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" headerMenu='vlAuthQueueGridMenu'>