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>
35 <tbody id='vl-queue-summary-import-item-summary'>
36 <tr><td>[% l('Items in Queue') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'></span></td></tr>
37 <tr><td>[% l('Items Imported') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'></span></td></tr>
38 <tr><td>[% l('Item Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-item-error-count'></span></td></tr>
43 <td valign='top'> <!-- filters -->
44 <table id='vl-queue-filter-table' class='queue-nav-table'>
45 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Filters') %]</th></tr></thead>
48 <td>[% l('Limit to Records with Matches') %]</td>
50 <input dojoType='dijit.form.CheckBox'
51 jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
55 <td>[% l('Limit to Non-Imported Records') %]</td>
57 <input dojoType='dijit.form.CheckBox'
58 jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
62 <td>[% l('Limit to Records with Import Errors') %]</td>
64 <input dojoType='dijit.form.CheckBox'
65 jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
75 <td align='right' valign='bottom'> <!-- big right td -->
76 <table id='vl-queue-paging-table' class='queue-nav-table'>
78 <tr><td valign='bottom' align='right'>
79 <select id='vl-queue-export-options' style='margin-right: 10px;'>
81 <option value=''>[% l('Export Queue As...') %]</option>
82 <option value='print'>[% l('Print') %]</option>
83 <option value='csv'>[% l('CSV') %]</option>
84 <option value='email'>[% l('Email') %]</option>
86 <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
87 <span class='queue-pager-span'>
88 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
89 value='10' onchange='retrieveQueuedRecords();'>
90 <option value='10'>10</option>
91 <option value='20'>20</option>
92 <option value='50'>50</option>
93 <option value='100'>100</option>
97 <span class='queue-pager-span'>
98 <span style='padding-left:5px;'>[% l('Page') %]</span>
99 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
102 <span style='padding-right:8px;'>
103 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('« Previous') %]</a>
105 <span style='padding-right:10px;'>
106 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next »') %]</a>
116 <!-- Bib Queue Grid -->
117 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
118 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true'>
122 field='+row_selector'
123 get='vlQueueGridDrawSelectBox'
124 formatter='vlQueueGridFormatSelectBox'
126 styles='text-align: center;'
127 nonSelectable='true'>
128 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
133 formatter='vlFormatViewMARC'
134 styles='text-align: center;'
135 nonSelectable='true'>[% l('View MARC') %]</th>
138 get='vlGetViewMatches'
139 formatter='vlFormatViewMatches'
140 styles='text-align: center;'
141 nonSelectable='true'>[% l('Matches') %]</th>
144 get='vlGetViewErrors'
145 formatter='vlFormatViewErrors'
146 styles='text-align: center;'
147 nonSelectable='true'>[% l('Import Failures') %]</th>
150 styles='text-align: center;'
151 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
152 <th field='imported_as'>[% l('Imported As') %]</th>
159 <!-- Auth Queue Grid -->
160 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
161 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true'>
165 field='+row_selector'
166 get='vlQueueGridDrawSelectBox'
167 formatter='vlQueueGridFormatSelectBox'
168 styles='text-align: center;'
169 nonSelectable='true'>
170 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
175 formatter='vlFormatViewMARC'
176 styles='text-align: center;'
177 nonSelectable='true'>[% l('View MARC') %]</th>
180 get='vlGetViewMatches'
181 formatter='vlFormatViewMatches'
182 styles='text-align: center;'
183 nonSelectable='true'>[% l('Matches') %]</th>
186 get='vlGetViewErrors'
187 formatter='vlFormatViewErrors'
188 styles='text-align: center;'
189 nonSelectable='true'>[% l('Import Failures') %]</th>
192 styles='text-align: center;'
193 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
194 <th field='imported_as'>[% l('Imported As') %]</th>
201 <div jsId='queueItemsImportDialog' dojoType="dijit.Dialog" title="[% l('Import Items') %]">
202 <div dojoType="dijit.layout.ContentPane">
203 <table class='form_table'>
206 <td>[% l('Merge Profile') %]</td>
208 <div jsId='vlUploadMergeProfile2'
209 dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
213 <td>[% l('Import Non-Matching Records') %]</td>
215 <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
219 <td>[% l('Merge On Exact Match (901c)') %]</td>
221 <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
225 <td>[% l('Merge On Single Match') %]</td>
227 <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
231 <td>[% l('Merge On Best Match') %]</td>
232 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
235 <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
237 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
238 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
242 <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
244 <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
247 <tr id='vl-trash-groups-row2'>
248 <td>[% l('Remove MARC Field Groups') %]</td>
250 <select style='overflow-y:auto;' multiple='true'
251 jsId="vlUploadTrashGroups2"
252 dojoType="dojox.form.CheckedMultiSelect">
256 <tr><td colspan='2' style='margin-top:10px;border-bottom:1px solid #888;border-top:2px solid #888'>
257 <b>[% l('Copy Import Actions') %]</b>
260 <td>[% l('Auto-overlay In-process Acquisition Copies') %]</td>
261 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayInprocessAcqCopies2' dojoType='dijit.form.CheckBox'/></td>
266 <button dojoType='dijit.form.Button' jsId='queueItemsImportCancelButton'>[% l('Cancel') %]</button>
269 <button dojoType='dijit.form.Button' jsId='queueItemsImportGoButton'>[% l('Import') %]</button>
278 <div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'></div>
279 <div jsId='createBucketDialog' dojoType="dijit.Dialog" class='center' title="[% l('Copy Records to Bucket') %]">
280 <div dojoType="dijit.layout.ContentPane" class='pad-level-1'>
281 <div class='pad-level-1'>[% l('Please enter the name of the bucket to append/create.') %]</div>
282 <div class='pad-level-1'><input dojoType='dijit.form.TextBox' name='name' id='create-bucket-dialog-name'/></div>
284 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="handleCreateBucket()">[% l('Apply') %]</button>
285 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="createBucketDialog.hide()">[% l('Cancel') %]</button>