1 <div dojoType="dijit.layout.ContentPane" layoutAlign='client' style='margin-top:10px;'>
2 <fieldset id='vl-queue-filter-fieldset'>
3 <legend>[% l('Queue ') %]<span style='font-style:italic;' id='vl-queue-summary-name'></span></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'>[% l('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();'>[% l('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>
19 <tr id='add-to-bucket-action'><td><a href='javascript:;' onclick='createBucketDialog.show()'>[% l('Copy To Bucket') %]</a></td></tr>
25 <table id='vl-queue-summary-table' class='queue-nav-table'>
26 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Summary') %]</th></tr></thead>
28 <tr><td>[% l('Records in Queue:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-total-count'></span></td></tr>
29 <tr><td>[% l('Records Imported:') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-count'></span></td></tr>
30 <tr><td>[% l('Record Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-rec-error-count'></span></td></tr>
31 <tr><td>[% l('Items in Queue') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-count'></span></td></tr>
32 <tr><td>[% l('Items Imported') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-import-item-imported-count'></span></td></tr>
33 <tr><td>[% l('Item Import Failures') %]</td><td> <span style='font-weight:bold;' id='vl-queue-summary-item-error-count'></span></td></tr>
38 <td valign='top'> <!-- filters -->
39 <table id='vl-queue-filter-table' class='queue-nav-table'>
40 <thead><tr><th colspan='2' class='queue-nav-table-label'>[% l('Queue Filters') %]</th></tr></thead>
43 <td>[% l('Limit to Records with Matches') %]</td>
45 <input dojoType='dijit.form.CheckBox'
46 jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
50 <td>[% l('Limit to Non-Imported Records') %]</td>
52 <input dojoType='dijit.form.CheckBox'
53 jsId='vlQueueGridShowNonImport' onchange='retrieveQueuedRecords();'/>
57 <td>[% l('Limit to Records with Import Errors') %]</td>
59 <input dojoType='dijit.form.CheckBox'
60 jsId='vlQueueGridShowImportErrors' onchange='retrieveQueuedRecords();'/>
70 <td align='right' valign='bottom'> <!-- big right td -->
71 <table id='vl-queue-paging-table' class='queue-nav-table'>
73 <tr><td valign='bottom' align='right'>
74 <select id='vl-queue-export-options' style='margin-right: 10px;'>
76 <option value=''>[% l('Export Queue As...') %]</option>
77 <option value='print'>[% l('Print') %]</option>
78 <option value='csv'>[% l('CSV') %]</option>
79 <option value='email'>[% l('Email') %]</option>
81 <span style='padding-right:5px;'>[% l('Records Per Page') %]</span>
82 <span class='queue-pager-span'>
83 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
84 value='10' onchange='retrieveQueuedRecords();'>
85 <option value='10'>10</option>
86 <option value='20'>20</option>
87 <option value='50'>50</option>
88 <option value='100'>100</option>
92 <span class='queue-pager-span'>
93 <span style='padding-left:5px;'>[% l('Page') %]</span>
94 <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
97 <span style='padding-right:8px;'>
98 <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>[% l('« Previous') %]</a>
100 <span style='padding-right:10px;'>
101 <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>[% l('Next »') %]</a>
111 <!-- Bib Queue Grid -->
112 <div class='' id='vl-bib-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
113 <table dojoType='dojox.grid.DataGrid' jsId='vlBibQueueGrid' query="{id:'*'}" autoHeight='true'>
117 field='+row_selector'
118 get='vlQueueGridDrawSelectBox'
119 formatter='vlQueueGridFormatSelectBox'
121 styles='text-align: center;'
122 nonSelectable='true'>
123 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
128 formatter='vlFormatViewMARC'
129 styles='text-align: center;'
130 nonSelectable='true'>[% l('View MARC') %]</th>
133 get='vlGetViewMatches'
134 formatter='vlFormatViewMatches'
135 styles='text-align: center;'
136 nonSelectable='true'>[% l('Matches') %]</th>
139 get='vlGetViewErrors'
140 formatter='vlFormatViewErrors'
141 styles='text-align: center;'
142 nonSelectable='true'>[% l('Import Failures') %]</th>
145 styles='text-align: center;'
146 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
153 <!-- Auth Queue Grid -->
154 <div class='' id='vl-auth-queue-grid-wrapper' dojoType='dijit.layout.ContentPane'>
155 <table dojoType='dojox.grid.DataGrid' jsId='vlAuthQueueGrid' query="{id:'*'}" autoHeight='true'>
159 field='+row_selector'
160 get='vlQueueGridDrawSelectBox'
161 formatter='vlQueueGridFormatSelectBox'
162 styles='text-align: center;'
163 nonSelectable='true'>
164 <input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"></input>
169 formatter='vlFormatViewMARC'
170 styles='text-align: center;'
171 nonSelectable='true'>[% l('View MARC') %]</th>
174 get='vlGetViewMatches'
175 formatter='vlFormatViewMatches'
176 styles='text-align: center;'
177 nonSelectable='true'>[% l('Matches') %]</th>
180 get='vlGetViewErrors'
181 formatter='vlFormatViewErrors'
182 styles='text-align: center;'
183 nonSelectable='true'>[% l('Import Failures') %]</th>
186 styles='text-align: center;'
187 get='vlGetDateTimeField'>[% l('Import Time') %]</th>
194 <div jsId='queueItemsImportDialog' dojoType="dijit.Dialog" title="[% l('Import Items') %]">
195 <div dojoType="dijit.layout.ContentPane">
196 <table class='form_table'>
199 <td>[% l('Merge Profile') %]</td>
201 <div jsId='vlUploadMergeProfile2'
202 dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
206 <td>[% l('Import Non-Matching Records') %]</td>
208 <input jsId='vlUploadQueueImportNoMatch2' dojoType='dijit.form.CheckBox'/>
212 <td>[% l('Merge On Exact Match (901c)') %]</td>
214 <input jsId='vlUploadQueueAutoOverlayExact2' dojoType='dijit.form.CheckBox'/>
218 <td>[% l('Merge On Single Match') %]</td>
220 <input jsId='vlUploadQueueAutoOverlay1Match2' dojoType='dijit.form.CheckBox'/>
224 <td>[% l('Merge On Best Match') %]</td>
225 <td colspan='4'><input jsId='vlUploadQueueAutoOverlayBestMatch2' dojoType='dijit.form.CheckBox'/></td>
228 <td>[% l('Best/Single Match Minimum Quality Ratio') %]</td>
230 <input style='width:3em' value='0.0' jsId='vlUploadQueueAutoOverlayBestMatchRatio2' dojoType='dijit.form.TextBox'/>
231 <span style='padding-left: 10px; font-size:90%'>[% l('New Record Quality / Quality of Best Match') %]</span>
235 <td>[% l('Insufficient Quality Fall-Through Profile') %]</td>
237 <div jsId='vlUploadFtMergeProfile2' dojoType='dijit.form.FilteringSelect' required='false' labelAttr='name' searchAttr='name'></div>
242 <button dojoType='dijit.form.Button' jsId='queueItemsImportCancelButton'>[% l('Cancel') %]</button>
245 <button dojoType='dijit.form.Button' jsId='queueItemsImportGoButton'>[% l('Import') %]</button>
254 <div jsId='progressDialog' dojoType='openils.widget.ProgressDialog'></div>
255 <div jsId='createBucketDialog' dojoType="dijit.Dialog" class='center' title="[% l('Copy Records to Bucket') %]">
256 <div dojoType="dijit.layout.ContentPane" class='pad-level-1'>
257 <div class='pad-level-1'>[% l('Please enter the name of the bucket to append/create.') %]</div>
258 <div class='pad-level-1'><input dojoType='dijit.form.TextBox' name='name' id='create-bucket-dialog-name'/></div>
260 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="handleCreateBucket()">[% l('Apply') %]</button>
261 <button class='pad-level-1' dojoType="dijit.form.Button" type="submit" onClick="createBucketDialog.hide()">[% l('Cancel') %]</button>