One more string to i18nize in Vandelay
[working/Evergreen.git] / Open-ILS / web / vandelay / inc / queue.xml
1 <table class='wide'>
2     <tr>
3         <td align='left'>
4             <h1>&vandelay.record.queue; <span style='font-style:italic;' id='vl-queue-summary-name'/></h1><br/>
5         </td>
6         <td align='right'>
7             &vandelay.queue.total; <span style='font-weight:bold;' id='vl-queue-summary-total-count'/>
8             &vandelay.queue.imported; <span style='font-weight:bold;' id='vl-queue-summary-import-count'/>
9         </td>
10     </tr>
11 </table>
12 <script>
13     var vlQueueGridLayout;
14     function resetVlQueueGridLayout() {
15         vlQueueGridLayout = [{
16             //defaultCell: {styles: 'text-align: center;'},
17             cells : [[
18                 {name: '&lt;input id="vl-queue-grid-row-selector" type="checkbox" onclick="vlToggleQueueGridSelect();"/>', 
19                     get: vlQueueGridDrawSelectBox, styles : 'text-align: center;' },
20                 {   name: '&vandelay.view.marc;', 
21                     get: vlGetViewMARC, styles : 'text-align: center;',
22                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMARCHtml(RECID, false, '+
23                         'function(){displayGlobalDiv(\'vl-queue-div\');});">&vandelay.view.marc;&lt;/a>'
24                 },
25                 {   name: '&vandelay.matches;', 
26                     get: vlGetViewMatches, styles : 'text-align: center;',
27                     value:'&lt;a href="javascript:void(0);" onclick="vlLoadMatchUI(RECID);">&vandelay.matches;&lt;/a>'
28                 },
29                 {name: '&vandelay.import.time;', field:'import_time',  styles : 'text-align: center;',
30                     get:vlGetDateTimeField, selectableColumn:true}
31             ]]
32         }];
33     }
34 </script>
35 <div id='vl-queue-div-grid' class='tall' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
36
37     <!-- column picker dialog -->
38     <div dojoType="dijit.Dialog" jsId='vlQueueGridColumePickerDialog' title="&vandelay.queue.column_picker.title;">
39         <table class='form_table'>
40             <thead>
41                 <tr><th width='33%'>&vandelay.column;</th>
42                 <th width='33%'>&vandelay.display;</th>
43                 <th width='33%'>&vandelay.auto.width;</th></tr>
44             </thead>
45             <tbody>
46                 <tr>
47                     <td colspan='3' align='center'>
48                         <button jsId='vlQueueGridColumnPickerButton' 
49                             onclick='
50                                 vlQueueGridColumePickerDialog.hide();
51                                 vlQueueGridColumePicker[currentType].update(true);'
52                             dojoType='dijit.form.Button'>&vandelay.done;</button>
53                     </td>
54                 </tr>
55             </tbody>
56         </table>
57     </div>
58
59     <!-- queue grid navigation row -->
60     <div dojoType="dijit.layout.ContentPane" layoutAlign='client'>
61         <table width='100%' style='margin-bottom:0px;'>
62             <tr>
63                 <td align='left' valign='bottom'>
64                     <select id='vl-queue-actions-selector'>
65                         <option selected='selected' disabled='disabled' value='select-actions'>&vandelay.select_actions;</option>
66                         <option value='import'>&vandelay.import.selected;</option>
67                         <option value='import_all'>&vandelay.import.all;</option>
68                         <option value='delete_queue'>&vandelay.delete.queue;</option>
69                     </select>
70                     <script>
71                         var sel = dojo.byId('vl-queue-actions-selector');
72                         sel.onchange = function(evt) {
73                             switch(openils.Util.selectorValue(evt.target)) {
74                                 case 'import': vlImportSelectedRecords(); break;;
75                                 case 'import_all': vlImportAllRecords(); break;;
76                                 case 'delete_queue': 
77                                     if(confirm('&vandelay.sure.to.delete.queue;')) {
78                                         vlDeleteQueue(currentType, currentQueueId, 
79                                             function() { displayGlobalDiv('vl-marc-upload-div'); });
80                                     }
81                             }
82                             evt.target.selectedIndex = 0;
83                         }
84                     </script>
85                 </td>
86                 <td align='middle' valign='bottom'>
87                     <style>.filter_span { padding-right: 5px; border-right: 2px solid #e8e1cf; } </style>
88                     <table><tr>
89                         <td>
90                             <span>&vandelay.limit.to.collision.matches;</span>
91                             <span class='filter_span'>
92                                 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowMatches' onchange='retrieveQueuedRecords();'/>
93                             </span>
94
95                             <span>&vandelay.limit.to.non.imported;</span>
96                             <span class='filter_span'>
97                                 <input dojoType='dijit.form.CheckBox' jsId='vlQueueGridShowNonImport' checked='checked' onchange='retrieveQueuedRecords();'/>
98                             </span>
99
100                             <span>&vandelay.results.per.page;</span>
101                             <span class='filter_span'>
102                                 <select jsId='vlQueueDisplayLimit' id='vl-queue-display-limit-selector'
103                                     value='10' onchange='retrieveQueuedRecords();'>
104                                     <option value='10'>10</option>
105                                     <option value='20'>20</option>
106                                     <option value='50'>50</option>
107                                     <option value='100'>100</option>
108                                 </select>
109                             </span>
110
111                             <span style='padding-left:5px;'>&vandelay.page;</span>
112                             <input style='width:36px;' dojoType='dijit.form.TextBox' jsId='vlQueueDisplayPage' value='1'/>
113                         </td>
114                     </tr></table>
115                 </td>
116                 <td align='right' valign='bottom'>
117                     <span style='padding-right:4px;'>
118                         <a href='javascript:void(0);' onclick='vlQueueGridPrevPage();'>&#171; &vandelay.prev.page;</a>
119                     </span>
120                     <span style='padding-right:10px;'>
121                         <a href='javascript:void(0);' onclick='vlQueueGridNextPage();'>&vandelay.next.page; &#187;</a>
122                     </span>
123                     <span style='background:#e8e1cf;padding:3px 2px 2px 6px;-moz-border-radius:6px 0px 0px 0px;'>
124                         <a href='javascript:void(0);' onclick='vlQueueGridColumePickerDialog.show();'>&vandelay.select.cols;</a>
125                     </span>
126                 </td>
127             </tr>
128         </table>
129     </div>
130
131     <!-- Queue Grid -->
132     <div class='' style='height:87%;' dojoType="dijit.layout.ContentPane" layoutAlign='client'>
133         <div dojoType='dojox.Grid' jsId='vlQueueGrid'> </div>
134     </div>
135 </div>
136