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>
31 <th width='33%'>&vandelay.display;</th>
32 <th width='33%'>&vandelay.auto.width;</th></tr>
36 <td colspan='3' align='center'>
37 <button jsId='vlQueueGridColumnPickerButton'
39 vlQueueGridColumePickerDialog.hide();
40 vlQueueGridColumePicker.update(true);'
41 dojoType='dijit.form.Button'>&vandelay.done;</button>
48 <!-- queue grid navigation row -->
49 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
50 <table width='100%' style='margin-bottom:0px;'>
53 <button dojoType='dijit.form.Button' onclick='vlImportSelectedRecords();'>&vandelay.import.selected;</button>
54 <button dojoType='dijit.form.Button' onclick="
55 if(confirm('&vandelay.sure.to.delete.queue;')) {
56 vlDeleteQueue(currentType, currentQueueId,
57 function() { displayGlobalDiv('vl-marc-upload-div'); });
58 }">&vandelay.delete.queue;</button>
61 <style>.filter_td { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
63 <td class='filter_td'>
64 &vandelay.limit.to.collision.matches;
65 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches'/>
67 <td class='filter_td' style='padding-left:5px;'>
68 &vandelay.limit.to.non.imported;
69 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked'/>
71 <td class='filter_td' style='padding-left:5px;'>
72 &vandelay.results.per.page;
73 <select style='width:68px;' jsId='vlQueueDisplayLimit' dojoType='dijit.form.FilteringSelect' value='10'>
74 <option value='10'>10</option>
75 <option value='20'>20</option>
76 <option value='50'>50</option>
77 <option value='100'>100</option>
80 <td class='filter_td' style='padding-left:5px;'>
81 &vandelay.page; <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
83 <td style='padding-left:5px;'>
84 <button dojoType='dijit.form.Button'
85 onclick='retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords)'>&vandelay.refresh;</button>
89 <td align='right' valign='bottom'>
90 <span style='padding-right:4px;'>
91 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>« &vandelay.prev.page;</a>
93 <span style='padding-right:10px;'>
94 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; »</a>
96 <span style='background:#e8e1cf;padding:3px 0px 0px 6px;-moz-border-radius:6px 0px 0px 0px;'>
97 <a href='javascript:void(0);' onclick='vlQueueGridColumePickerDialog.show();'>&vandelay.select.cols;</a>
105 <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
106 <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>