1 <h1>&vandelay.record.queue;</h1><br/>
4 function resetVlQueueGridLayout() {
6 defaultCell: {styles: 'text-align: center;'},
8 {name: '<input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>',
9 get: vlQueueGridDrawSelectBox },
10 { name: '&vandelay.view.marc;',
12 value:'<a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
13 'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;</a>'
15 { name: '&vandelay.matches;',
16 get: vlGetViewMatches,
17 value:'<a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;</a>'
19 {name: '&vandelay.import.time;', field:'import_time', get:vlGetDateTimeField, selectableColumn:true}
24 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
26 <!-- column picker dialog -->
27 <div dojoType="dijit.Dialog" jsId='vlQueueGridColumePickerDialog' title="Column Picker" execute="alert(2);">
28 <table class='form_table'>
30 <tr><th width='33%'>&vandelay.column;</th><th width='33%'>&vandelay.display;</th><th width='33%'>&vandelay.auto.width;</th></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>
44 <!-- queue grid navigation row -->
45 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
46 <table width='100%' style='margin-bottom:0px;'>
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>
57 <style>.filter_td { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
59 <td class='filter_td'>
60 &vandelay.limit.to.collision.matches;
61 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches'/>
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'/>
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>
76 <td class='filter_td' style='padding-left:5px;'>
77 &vandelay.page; <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
79 <td style='padding-left:5px;'>
80 <button dojoType='dijit.form.Button'
81 onclick='retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords)'>&vandelay.refresh;</button>
85 <td align='right' valign='bottom'>
86 <span style='padding-right:4px;'>
87 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>« &vandelay.prev.page;</a>
89 <span style='padding-right:10px;'>
90 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; »</a>
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>
101 <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
102 <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>