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='
19 if(confirm("[% l('Are you sure you want to delete this queue?') %]")) {
20 vlDeleteQueue(currentType, currentQueueId,
21 function() { displayGlobalDiv("vl-marc-upload-div"); });}'>[% l('Delete Queue') %]</a></td></tr>
22 <tr id='add-to-bucket-action'><td><a href='javascript:;' onclick='createBucketDialog.show()'>[% l('Copy To Bucket') %]</a></td></tr>
28 <table id='vl-queue-summary-table' class='queue-nav-table'>
29 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Summary') %]</th></tr></thead>
31 <tr><td>[% l('Records in Queue:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'></span></td></tr>
32 <tr><td>[% l('Records Imported:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'></span></td></tr>
33 <tr><td>[% l('Record Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-rec-error-count'></span></td></tr>
34 <tr><td>[% l('Items in Queue') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'></span></td></tr>
35 <tr><td>[% l('Items Imported') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'></span></td></tr>
36 <tr><td>[% l('Item Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-item-error-count'></span></td></tr>
41 <td valign='top'> <!-- filters -->
42 <table id='vl-queue-filter-table' class='queue-nav-table'>
43 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Filters') %]</th></tr></thead>
46 <td>[% l('Limit to Records with Matches') %]</td>
48 <input dojoType='dijit.form.CheckBox'
49 jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
53 <td>[% l('Limit to Non-Imported Records') %]</td>
55 <input dojoType='dijit.form.CheckBox'
56 jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
60 <td>[% l('Limit to Records with Import Errors') %]</td>
62 <input dojoType='dijit.form.CheckBox'
63 jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
73 <td align='right' valign='bottom'> <!-- big right td -->
74 <table id='vl-queue-paging-table' class='queue-nav-table'>
76 <tr><td valign='bottom' align='right'>
77 <select id='vl-queue-export-options' style='margin-right: 10px;'>
79 <option value=''>[% l('Export Queue As...') %]</option>
80 <option value='print'>[% l('Print') %]</option>
81 <option value='csv'>[% l('CSV') %]</option>
82 <option value='email'>[% l('Email') %]</option>
84 <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
85 <span class='queue-pager-span'>
86 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
87 value='10' onchange='retrieveQueuedRecords();'>
88 <option value='10'>10</option>
89 <option value='20'>20</option>
90 <option value='50'>50</option>
91 <option value='100'>100</option>
95 <span class='queue-pager-span'>
96 <span style='padding-left:5px;'>[% l('Page') %]</span>
97 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
100 <span style='padding-right:8px;'>
101 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('« Previous') %]</a>
103 <span style='padding-right:10px;'>
104 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next »') %]</a>
114 <!-- Bib Queue Grid -->
115 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
116 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true'>
120 field='+row_selector'
121 get='vlQueueGridDrawSelectBox'
122 formatter='vlQueueGridFormatSelectBox'
124 styles='text-align: center;'
125 nonSelectable='true'>
126 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
131 formatter='vlFormatViewMARC'
132 styles='text-align: center;'
133 nonSelectable='true'>[% l('View MARC') %]</th>
136 get='vlGetViewMatches'
137 formatter='vlFormatViewMatches'
138 styles='text-align: center;'
139 nonSelectable='true'>[% l('Matches') %]</th>
142 get='vlGetViewErrors'
143 formatter='vlFormatViewErrors'
144 styles='text-align: center;'
145 nonSelectable='true'>[% l('Import Failures') %]</th>
148 styles='text-align: center;'
149 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
156 <!-- Auth Queue Grid -->
157 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
158 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true'>
162 field='+row_selector'
163 get='vlQueueGridDrawSelectBox'
164 formatter='vlQueueGridFormatSelectBox'
165 styles='text-align: center;'
166 nonSelectable='true'>
167 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
172 formatter='vlFormatViewMARC'
173 styles='text-align: center;'
174 nonSelectable='true'>[% l('View MARC') %]</th>
177 get='vlGetViewMatches'
178 formatter='vlFormatViewMatches'
179 styles='text-align: center;'
180 nonSelectable='true'>[% l('Matches') %]</th>
183 get='vlGetViewErrors'
184 formatter='vlFormatViewErrors'
185 styles='text-align: center;'
186 nonSelectable='true'>[% l('Import Failures') %]</th>
189 styles='text-align: center;'
190 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
197 <div jsId='queueItemsImportDialog' dojoType="dijit.Dialog" title="[% l('Import Items') %]">
198 <div dojoType="dijit.layout.ContentPane">
199 <table class='form_table'>
202 <td>[% l('Merge Profile') %]</td>
204 <div jsId='vlUploadMergeProfile2'
205 dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
209 <td>[% l('Import Non-Matching Records') %]</td>
211 <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
215 <td>[% l('Merge On Exact Match (901c)') %]</td>
217 <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
221 <td>[% l('Merge On Single Match') %]</td>
223 <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
227 <td>[% l('Merge On Best Match') %]</td>
228 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
231 <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
233 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
234 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
238 <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
240 <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
243 <tr id='vl-trash-groups-row2'>
244 <td>[% l('Remove MARC Field Groups') %]</td>
246 <select style='overflow-y:auto;' multiple='true'
247 jsId="vlUploadTrashGroups2"
248 dojoType="dojox.form.CheckedMultiSelect">
252 <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
253 <b>[% l('Copy Import Actions') %]</b>
256 <td>[% l('Auto-overlay In-process Acquisition Copies') %]</td>
257 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayInprocessAcqCopies2' dojoType='dijit.form.CheckBox'/></td>
262 <button dojoType='dijit.form.Button' jsId='queueItemsImportCancelButton'>[% l('Cancel') %]</button>
265 <button dojoType='dijit.form.Button' jsId='queueItemsImportGoButton'>[% l('Import') %]</button>
274 <div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'></div>
275 <div jsId='createBucketDialog' dojoType="dijit.Dialog" class='center' title="[% l('Copy Records to Bucket') %]">
276 <div dojoType="dijit.layout.ContentPane" class='pad-level-1'>
277 <div class='pad-level-1'>[% l('Please enter the name of the bucket to append/create.') %]</div>
278 <div class='pad-level-1'><input dojoType='dijit.form.TextBox' name='name' id='create-bucket-dialog-name'/></div>
280 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="handleCreateBucket()">[% l('Apply') %]</button>
281 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="createBucketDialog.hide()">[% l('Cancel') %]</button>