1 <style type="text/css">
2 @import "[% ctx.media_prefix %]/js/dojo/dojox/form/resources/CheckedMultiSelect.css";
4 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' style='margin-top:10px;'>
5 <fieldset id='vl-queue-filter-fieldset'>
6 <legend>[% l('Queue ') %]<span style='font-style:italic;' id='vl-queue-summary-name'></span></legend>
7 <table width='100%'><tr>
8 <td> <!-- big left td -->
12 <table class='queue-nav-table'>
13 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Actions') %]</th></tr></thead>
15 <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import")'>[% l('Import Selected Records') %]</a></td></tr>
16 <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import_all")'>[% l('Import All Records') %]</a></td></tr>
17 <tr><td><a href='javascript:;' onclick='vlLoadErrorUIAll();'>[% l('View Import Items') %]</a></td></tr>
18 <tr><td><a href='javascript:;' onclick='vlExportRecordQueue({"nonimported":1})'>[% l('Export Non-Imported Records') %]</a></td></tr>
19 <tr><td><a href='javascript:;' onclick='
20 if(confirm("[% l('Are you sure you want to delete this queue?') %]")) {
21 vlDeleteQueue(currentType, currentQueueId,
22 function() { displayGlobalDiv("vl-marc-upload-div"); });}'>[% l('Delete Queue') %]</a></td></tr>
23 <tr id='add-to-bucket-action'><td><a href='javascript:;' onclick='createBucketDialog.show()'>[% l('Copy To Bucket') %]</a></td></tr>
29 <table id='vl-queue-summary-table' class='queue-nav-table'>
30 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Summary') %]</th></tr></thead>
32 <tr><td>[% l('Records in Queue:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'></span></td></tr>
33 <tr><td>[% l('Records Imported:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'></span></td></tr>
34 <tr><td>[% l('Record Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-rec-error-count'></span></td></tr>
36 <tbody id='vl-queue-summary-import-item-summary'>
37 <tr><td>[% l('Items in Queue') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'></span></td></tr>
38 <tr><td>[% l('Items Imported') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'></span></td></tr>
39 <tr><td>[% l('Item Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-item-error-count'></span></td></tr>
44 <td valign='top'> <!-- filters -->
45 <table id='vl-queue-filter-table' class='queue-nav-table'>
46 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Filters') %]</th></tr></thead>
49 <td>[% l('Limit to Records with Matches') %]</td>
51 <input dojoType='dijit.form.CheckBox'
52 jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
56 <td>[% l('Limit to Non-Imported Records') %]</td>
58 <input dojoType='dijit.form.CheckBox'
59 jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
63 <td>[% l('Limit to Records with Import Errors') %]</td>
65 <input dojoType='dijit.form.CheckBox'
66 jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
76 <td align='right' valign='bottom'> <!-- big right td -->
77 <table id='vl-queue-paging-table' class='queue-nav-table'>
79 <tr><td valign='bottom' align='right'>
80 <select id='vl-queue-export-options' style='margin-right: 10px;'>
82 <option value=''>[% l('Export Queue As...') %]</option>
83 <option value='print'>[% l('Print') %]</option>
84 <option value='csv'>[% l('CSV') %]</option>
85 <option value='email'>[% l('Email') %]</option>
87 <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
88 <span class='queue-pager-span'>
89 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
90 value='10' onchange='retrieveQueuedRecords();'>
91 <option value='10'>10</option>
92 <option value='20'>20</option>
93 <option value='50'>50</option>
94 <option value='100'>100</option>
98 <span class='queue-pager-span'>
99 <span style='padding-left:5px;'>[% l('Page') %]</span>
100 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
103 <span style='padding-right:8px;'>
104 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('« Previous') %]</a>
106 <span style='padding-right:10px;'>
107 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next »') %]</a>
117 <!-- Bib Queue Grid -->
118 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
119 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true' autoWidth='true'>
123 field='+row_selector'
124 get='vlQueueGridDrawSelectBox'
125 formatter='vlQueueGridFormatSelectBox'
127 styles='text-align: center;'
128 nonSelectable='true'>
129 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
134 formatter='vlFormatViewMARC'
135 styles='text-align: center;'
136 nonSelectable='true'>[% l('View MARC') %]</th>
139 get='vlGetViewMatches'
140 formatter='vlFormatViewMatches'
141 styles='text-align: center;'
142 nonSelectable='true'>[% l('Matches') %]</th>
145 get='vlGetViewErrors'
146 formatter='vlFormatViewErrors'
147 styles='text-align: center;'
148 nonSelectable='true'>[% l('Import Failures') %]</th>
151 styles='text-align: center;'
152 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
153 <th field='imported_as'>[% l('Imported As') %]</th>
160 <!-- Auth Queue Grid -->
161 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
162 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true' autoWidth='true'>
166 field='+row_selector'
167 get='vlQueueGridDrawSelectBox'
168 formatter='vlQueueGridFormatSelectBox'
169 styles='text-align: center;'
170 nonSelectable='true'>
171 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
176 formatter='vlFormatViewMARC'
177 styles='text-align: center;'
178 nonSelectable='true'>[% l('View MARC') %]</th>
181 get='vlGetViewMatches'
182 formatter='vlFormatViewMatches'
183 styles='text-align: center;'
184 nonSelectable='true'>[% l('Matches') %]</th>
187 get='vlGetViewErrors'
188 formatter='vlFormatViewErrors'
189 styles='text-align: center;'
190 nonSelectable='true'>[% l('Import Failures') %]</th>
193 styles='text-align: center;'
194 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
195 <th field='imported_as'>[% l('Imported As') %]</th>
202 <div jsId='queueItemsImportDialog' dojoType="dijit.Dialog" title="[% l('Import Items') %]">
203 <div dojoType="dijit.layout.ContentPane">
204 <table class='form_table'>
207 <td>[% l('Merge Profile') %]</td>
209 <div jsId='vlUploadMergeProfile2'
210 dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
214 <td>[% l('Import Non-Matching Records') %]</td>
216 <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
220 <td>[% l('Merge On Exact Match (901c)') %]</td>
222 <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
226 <td>[% l('Merge On Single Match') %]</td>
228 <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
232 <td>[% l('Merge On Best Match') %]</td>
233 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
236 <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
238 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
239 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
243 <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
245 <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
248 <tr id='vl-trash-groups-row2'>
249 <td>[% l('Remove MARC Field Groups') %]</td>
251 <select style='overflow-y:auto;' multiple='true'
252 jsId="vlUploadTrashGroups2"
253 dojoType="dojox.form.CheckedMultiSelect">
257 <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
258 <b>[% l('Copy Import Actions') %]</b>
261 <td>[% l('Auto-overlay In-process Acquisition Copies') %]</td>
262 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayInprocessAcqCopies2' dojoType='dijit.form.CheckBox'/></td>
265 <td>[% l('Auto-overlay On-order Cataloguing Copies') %]</td>
266 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayOnorderCatCopies2' dojoType='dijit.form.CheckBox'/></td>
270 <td>[% l('Use Org Unit Matching in Copy to Determine Best Match') %]</td>
272 <input jsId='vlUploadQueueAutoOverlayOrgUnitCopies2' dojoType='dijit.form.CheckBox'/>
278 <button dojoType='dijit.form.Button' jsId='queueItemsImportCancelButton'>[% l('Cancel') %]</button>
281 <button dojoType='dijit.form.Button' jsId='queueItemsImportGoButton'>[% l('Import') %]</button>
290 <div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'></div>
291 <div jsId='createBucketDialog' dojoType="dijit.Dialog" class='center' title="[% l('Copy Records to Bucket') %]">
292 <div dojoType="dijit.layout.ContentPane" class='pad-level-1'>
293 <div class='pad-level-1'>[% l('Please enter the name of the bucket to append/create.') %]</div>
294 <div class='pad-level-1'><input dojoType='dijit.form.TextBox' name='name' id='create-bucket-dialog-name'/></div>
296 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="handleCreateBucket()">[% l('Apply') %]</button>
297 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="createBucketDialog.hide()">[% l('Cancel') %]</button>