1 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
5 <h1>&vandelay.record.queue; <span style='font-style:italic;' id='vl-queue-summary-name'/></h1><br/>
8 &vandelay.queue.total; <span style='font-weight:bold;' id='vl-queue-summary-total-count'/>
9 &vandelay.queue.imported; <span style='font-weight:bold;' id='vl-queue-summary-import-count'/>
17 <!-- queue grid navigation row -->
18 <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
20 <table width='100%' style='margin-bottom:0px;'>
22 <td align='left' valign='bottom'>
23 <select id='vl-queue-actions-selector'>
24 <option selected='selected' disabled='disabled' value='select-actions'>&vandelay.select_actions;</option>
25 <option value='import'>&vandelay.import.selected;</option>
26 <option value='import_all'>&vandelay.import.all;</option>
27 <option value='delete_queue'>&vandelay.delete.queue;</option>
30 var sel = dojo.byId('vl-queue-actions-selector');
31 sel.onchange = function(evt) {
32 switch(openils.Util.selectorValue(evt.target)) {
33 case 'import': vlImportSelectedRecords(); break;;
34 case 'import_all': vlImportAllRecords(); break;;
36 if(confirm('&vandelay.sure.to.delete.queue;')) {
37 vlDeleteQueue(currentType, currentQueueId,
38 function() { displayGlobalDiv('vl-marc-upload-div'); });
41 evt.target.selectedIndex = 0;
45 <td align='middle' valign='bottom'>
46 <style>.filter_span { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
49 <span>&vandelay.limit.to.collision.matches;</span>
50 <span class='filter_span'>
51 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
54 <span>&vandelay.limit.to.non.imported;</span>
55 <span class='filter_span'>
56 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport'
57 checked='checked' onchange='retrieveQueuedRecords();'/>
60 <span>&vandelay.results.per.page;</span>
61 <span class='filter_span'>
62 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
63 value='10' onchange='retrieveQueuedRecords();'>
64 <option value='10'>10</option>
65 <option value='20'>20</option>
66 <option value='50'>50</option>
67 <option value='100'>100</option>
71 <span style='padding-left:5px;'>&vandelay.page;</span>
72 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
76 <td align='right' valign='bottom'>
77 <span style='padding-right:4px;'>
78 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>« &vandelay.prev.page;</a>
80 <span style='padding-right:10px;'>
81 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; »</a>
89 <!-- Bib Queue Grid -->
90 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
91 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true'>
96 get='vlQueueGridDrawSelectBox'
97 formatter='vlQueueGridFormatSelectBox'
98 styles='text-align: center;'
100 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
105 formatter='vlFormatViewMARC'
106 styles='text-align: center;'
107 nonSelectable='true'>&vandelay.view.marc;</th>
110 get='vlGetViewMatches'
111 formatter='vlFormatViewMatches'
112 styles='text-align: center;'
113 nonSelectable='true'>&vandelay.matches;</th>
116 styles='text-align: center;'
117 get='vlGetDateTimeField'>&vandelay.import.time;</th>
124 <!-- Auth Queue Grid -->
125 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
126 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true'>
130 field='+row_selector'
131 get='vlQueueGridDrawSelectBox'
132 formatter='vlQueueGridFormatSelectBox'
133 styles='text-align: center;'
134 nonSelectable='true'>
135 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
140 formatter='vlFormatViewMARC'
141 styles='text-align: center;'
142 nonSelectable='true'>&vandelay.view.marc;</th>
145 get='vlGetViewMatches'
146 formatter='vlFormatViewMatches'
147 styles='text-align: center;'
148 nonSelectable='true'>&vandelay.matches;</th>
151 styles='text-align: center;'
152 get='vlGetDateTimeField'>&vandelay.import.time;</th>