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 = [{
16 //defaultCell: {styles: 'text-align: center;'},
18 {name: '<input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>',
19 get: vlQueueGridDrawSelectBox, styles : 'text-align: center;' },
20 { name: '&vandelay.view.marc;',
21 get: vlGetViewMARC, styles : 'text-align: center;',
22 value:'<a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
23 'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;</a>'
25 { name: '&vandelay.matches;',
26 get: vlGetViewMatches, styles : 'text-align: center;',
27 value:'<a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;</a>'
29 {name: '&vandelay.import.time;', field:'import_time', styles : 'text-align: center;',
30 get:vlGetDateTimeField, selectableColumn:true}
35 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
37 <!-- column picker dialog -->
38 <div dojoType="dijit.Dialog" jsId='vlQueueGridColumePickerDialog' title="Column Picker">
39 <table class='form_table'>
41 <tr><th width='33%'>&vandelay.column;</th>
42 <th width='33%'>&vandelay.display;</th>
43 <th width='33%'>&vandelay.auto.width;</th></tr>
47 <td colspan='3' align='center'>
48 <button jsId='vlQueueGridColumnPickerButton'
50 vlQueueGridColumePickerDialog.hide();
51 vlQueueGridColumePicker[currentType].update(true);'
52 dojoType='dijit.form.Button'>&vandelay.done;</button>
59 <!-- queue grid navigation row -->
60 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
61 <table width='100%' style='margin-bottom:0px;'>
63 <td align='left' valign='bottom'>
64 <select id='vl-queue-actions-selector'>
65 <option selected='selected' disabled='disabled' value='select-actions'>&vandelay.select_actions;</option>
66 <option value='import'>&vandelay.import.selected;</option>
67 <option value='import_all'>&vandelay.import.all;</option>
68 <option value='delete_queue'>&vandelay.delete.queue;</option>
71 var sel = dojo.byId('vl-queue-actions-selector');
72 sel.onchange = function(evt) {
73 switch(openils.Util.selectorValue(evt.target)) {
74 case 'import': vlImportSelectedRecords(); break;;
75 case 'import_all': vlImportAllRecords(); break;;
77 if(confirm('&vandelay.sure.to.delete.queue;')) {
78 vlDeleteQueue(currentType, currentQueueId,
79 function() { displayGlobalDiv('vl-marc-upload-div'); });
82 evt.target.selectedIndex = 0;
86 <td align='middle' valign='bottom'>
87 <style>.filter_span { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
90 <span>&vandelay.limit.to.collision.matches;</span>
91 <span class='filter_span'>
92 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
95 <span>&vandelay.limit.to.non.imported;</span>
96 <span class='filter_span'>
97 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked' onchange='retrieveQueuedRecords();'/>
100 <span>&vandelay.results.per.page;</span>
101 <span class='filter_span'>
102 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
103 value='10' onchange='retrieveQueuedRecords();'>
104 <option value='10'>10</option>
105 <option value='20'>20</option>
106 <option value='50'>50</option>
107 <option value='100'>100</option>
111 <span style='padding-left:5px;'>&vandelay.page;</span>
112 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
116 <td align='right' valign='bottom'>
117 <span style='padding-right:4px;'>
118 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>« &vandelay.prev.page;</a>
120 <span style='padding-right:10px;'>
121 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; »</a>
123 <span style='background:#e8e1cf;padding:3px 2px 2px 6px;-moz-border-radius:6px 0px 0px 0px;'>
124 <a href='javascript:void(0);' onclick='vlQueueGridColumePickerDialog.show();'>&vandelay.select.cols;</a>
132 <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
133 <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>