1 <h1>&vandelay.record.queue;</h1><br/>
3 <span style='font-size:105%;' id='vl-queue-summary-name'/>
4 <span id='vl-queue-summary-import-count'/> / <span id='vl-queue-summary-total-count'/>
8 function resetVlQueueGridLayout() {
10 defaultCell: {styles: 'text-align: center;'},
12 {name: '<input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>',
13 get: vlQueueGridDrawSelectBox },
14 { name: '&vandelay.view.marc;',
16 value:'<a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
17 'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;</a>'
19 { name: '&vandelay.matches;',
20 get: vlGetViewMatches,
21 value:'<a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;</a>'
23 {name: '&vandelay.import.time;', field:'import_time', get:vlGetDateTimeField, selectableColumn:true}
28 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
30 <!-- column picker dialog -->
31 <div dojoType="dijit.Dialog" jsId='vlQueueGridColumePickerDialog' title="Column Picker" execute="alert(2);">
32 <table class='form_table'>
34 <tr><th width='33%'>&vandelay.column;</th>
35 <th width='33%'>&vandelay.display;</th>
36 <th width='33%'>&vandelay.auto.width;</th></tr>
40 <td colspan='3' align='center'>
41 <button jsId='vlQueueGridColumnPickerButton'
43 vlQueueGridColumePickerDialog.hide();
44 vlQueueGridColumePicker[currentType].update(true);'
45 dojoType='dijit.form.Button'>&vandelay.done;</button>
52 <!-- queue grid navigation row -->
53 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
54 <table width='100%' style='margin-bottom:0px;'>
56 <td align='left' valign='bottom'>
57 <button dojoType='dijit.form.Button' onclick='vlImportSelectedRecords();'>&vandelay.import.selected;</button>
58 <button dojoType='dijit.form.Button' onclick='vlImportAllRecords();'>&vandelay.import.all;</button>
59 <button dojoType='dijit.form.Button' onclick="
60 if(confirm('&vandelay.sure.to.delete.queue;')) {
61 vlDeleteQueue(currentType, currentQueueId,
62 function() { displayGlobalDiv('vl-marc-upload-div'); });
63 }">&vandelay.delete.queue;</button>
65 <td align='middle' valign='bottom'>
66 <style>.filter_td { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
68 <td class='filter_td'>
69 <table class='small_form_table'><tr>
70 <td>&vandelay.limit.to.collision.matches;</td>
71 <td><input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches'/></td>
73 <td>&vandelay.limit.to.non.imported;</td>
74 <td><input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked'/></td>
77 <td class='filter_td' style='padding-left:5px;'>
78 <div class='nav_row_div'>&vandelay.results.per.page;</div>
79 <div class='nav_row_div'>
80 <select style='width:68px;' jsId='vlQueueDisplayLimit' dojoType='dijit.form.FilteringSelect' value='10'>
81 <option value='10'>10</option>
82 <option value='20'>20</option>
83 <option value='50'>50</option>
84 <option value='100'>100</option>
88 <td class='filter_td' style='padding-left:5px;'>
89 <div class='nav_row_div'>&vandelay.page;</div>
90 <div class='nav_row_div'>
91 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
94 <td style='padding-left:5px;'>
95 <button dojoType='dijit.form.Button'
96 onclick='retrieveQueuedRecords(currentType, currentQueueId, handleRetrieveRecords)'>&vandelay.refresh;</button>
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>
107 <span style='background:#e8e1cf;padding:3px 0px 0px 6px;-moz-border-radius:6px 0px 0px 0px;'>
108 <a href='javascript:void(0);' onclick='vlQueueGridColumePickerDialog.show();'>&vandelay.select.cols;</a>
116 <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
117 <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>