1 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' style='margin-top:10px;'>
2 <fieldset id='vl-queue-filter-fieldset'>
3 <legend>Queue <span style='font-style:italic;' id='vl-queue-summary-name'/></legend>
4 <table width='100%'><tr>
5 <td> <!-- big left td -->
9 <table class='queue-nav-table'>
10 <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Actions</th></tr></thead>
12 <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import")'>[% l('Import Selected Records') %]</a></td></tr>
13 <tr><td><a href='javascript:;' onclick='vlHandleQueueItemsAction("import_all")'>[% l('Import All Records') %]</a></td></tr>
14 <tr><td><a href='javascript:;' onclick='vlLoadErrorUIAll();'>View Import Items</a></td></tr>
15 <tr><td><a href='javascript:;' onclick='
16 if(confirm("[% l('Are you sure you want to delete this queue?') %]")) {
17 vlDeleteQueue(currentType, currentQueueId,
18 function() { displayGlobalDiv("vl-marc-upload-div"); });}'>[% l('Delete Queue') %]</a></td></tr>
24 <table id='vl-queue-summary-table' class='queue-nav-table'>
25 <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Summary</th></tr></thead>
27 <tr><td>[% l('Records in Queue:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'/></td></tr>
28 <tr><td>[% l('Records Imported:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'/></td></tr>
29 <tr><td>Record Import Failures</td><td> <span style='font-weight:bold;' id='vl-queue-summary-rec-error-count'/></td></tr>
30 <tr><td>Items in Queue</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'/></td></tr>
31 <tr><td>Items Imported</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'/></td></tr>
32 <tr><td>Item Import Failures</td><td> <span style='font-weight:bold;' id='vl-queue-summary-item-error-count'/></td></tr>
37 <td valign='top'> <!-- filters -->
38 <table id='vl-queue-filter-table' class='queue-nav-table'>
39 <thead><tr><th colspan='2' class='queue-nav-table-label'>Queue Filters</th></tr></thead>
42 <td>[% l('Limit to Records with Matches') %]</td>
44 <input dojoType='dijit.form.CheckBox'
45 jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
49 <td>[% l('Limit to Non-Imported Records') %]</td>
51 <input dojoType='dijit.form.CheckBox'
52 jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
56 <td>[% l('Limit to Records with Import Errors') %]</td>
58 <input dojoType='dijit.form.CheckBox'
59 jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
69 <td align='right' valign='bottom'> <!-- big right td -->
70 <table id='vl-queue-paging-table' class='queue-nav-table'>
72 <tr><td valign='bottom' align='right'>
73 <select id='vl-queue-export-options' style='margin-right: 10px;'>
75 <option value=''>Export Queue As...</option>
76 <option value='print'>Print</option>
77 <option value='csv'>CSV</option>
78 <option value='email'>Email</option>
80 <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
81 <span class='queue-pager-span'>
82 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
83 value='10' onchange='retrieveQueuedRecords();'>
84 <option value='10'>10</option>
85 <option value='20'>20</option>
86 <option value='50'>50</option>
87 <option value='100'>100</option>
91 <span class='queue-pager-span'>
92 <span style='padding-left:5px;'>[% l('Page') %]</span>
93 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
96 <span style='padding-right:8px;'>
97 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('« Previous') %]</a>
99 <span style='padding-right:10px;'>
100 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next »') %]</a>
110 <!-- Bib Queue Grid -->
111 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
112 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true'>
116 field='+row_selector'
117 get='vlQueueGridDrawSelectBox'
118 formatter='vlQueueGridFormatSelectBox'
120 styles='text-align: center;'
121 nonSelectable='true'>
122 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
127 formatter='vlFormatViewMARC'
128 styles='text-align: center;'
129 nonSelectable='true'>[% l('View MARC') %]</th>
132 get='vlGetViewMatches'
133 formatter='vlFormatViewMatches'
134 styles='text-align: center;'
135 nonSelectable='true'>[% l('Matches') %]</th>
138 get='vlGetViewErrors'
139 formatter='vlFormatViewErrors'
140 styles='text-align: center;'
141 nonSelectable='true'>Import Failures</th>
144 styles='text-align: center;'
145 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
152 <!-- Auth Queue Grid -->
153 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
154 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true'>
158 field='+row_selector'
159 get='vlQueueGridDrawSelectBox'
160 formatter='vlQueueGridFormatSelectBox'
161 styles='text-align: center;'
162 nonSelectable='true'>
163 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
168 formatter='vlFormatViewMARC'
169 styles='text-align: center;'
170 nonSelectable='true'>[% l('View MARC') %]</th>
173 get='vlGetViewMatches'
174 formatter='vlFormatViewMatches'
175 styles='text-align: center;'
176 nonSelectable='true'>[% l('Matches') %]</th>
179 get='vlGetViewErrors'
180 formatter='vlFormatViewErrors'
181 styles='text-align: center;'
182 nonSelectable='true'>Import Failures</th>
185 styles='text-align: center;'
186 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
193 <div jsId='queueItemsImportDialog' dojoType="dijit.Dialog" title="Import Items">
194 <div dojoType="dijit.layout.ContentPane">
195 <table class='form_table'>
198 <td>[% l('Merge Profile') %]</td>
200 <div jsId='vlUploadMergeProfile2'
201 dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
205 <td>[% l('Import Non-Matching Records') %]</td>
207 <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
211 <td>[% l('Merge On Exact Match (901c)') %]</td>
213 <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
217 <td>[% l('Merge On Single Match') %]</td>
219 <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
223 <td>[% l('Merge On Best Match') %]</td>
224 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
227 <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
229 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
230 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
234 <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
236 <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'/>
241 <button dojoType='dijit.form.Button' jsId='queueItemsImportCancelButton'>Cancel</button>
244 <button dojoType='dijit.form.Button' jsId='queueItemsImportGoButton'>Import</button>