]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/common/holds.xml
initial hold freezing UI components. no logic yet. added DTD entities opac.holds...
[working/Evergreen.git] / Open-ILS / web / opac / skin / default / xml / common / holds.xml
1 <link rel="stylesheet" type="text/css"
2     href='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar-brown.css' title="win2k-cold-1" />
3 <script src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar.js'></script>
4 <script src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/lang/calendar-en.js'></script>
5 <script src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/calendar-setup.js'></script>
6
7 <div>
8         <div id='xulholds_box' class='hide_me canvas' style='margin-top: 6px;'>
9                 <center>
10                         <table class='data_grid' style='margin-top: 20px;'>
11                                 <tbody>
12                                         <tr>
13                                                 <td>&opac.holds.xulRecipient;:</td>
14                                                 <td><input type='text' id='xul_recipient_barcode'> </input></td>
15                                                 <td><input type='submit' value='&common.submit;' 
16                                                         id='xul_recipient_barcode_submit'> </input></td>
17                                                 <td><input type='submit' value='&common.hold.place;' 
18                                                         id='xul_recipient_me'> </input></td>
19                                                 <td><input type='submit' value='&common.cancel;' onclick='showCanvas();'></input></td>
20                                         </tr>
21
22                                 </tbody>
23                         </table>
24                 </center>
25         </div>
26
27         <div id='check_holds_box' class='hide_me canvas' 
28                 style='margin-top: 6px; width: 100%; text-align: center'>
29                 <br/><br/><br/>
30                 <b>&common.hold.check;</b>
31         </div>
32
33         <div id='holds_box' class='hide_me canvas' style='margin-top: 6px;'>
34         
35                 <br/>
36                 <table width='90%'>
37                         <tbody>
38                                 <tr>
39                                         <td class='holds_cell color_1' 
40                                                 align='center' colspan='2'>&common.hold.create;</td>
41                                 </tr>
42                                 <tr>
43                                         <td class='holds_cell'>&opac.holds.recipient;:</td>
44                                         <td class='holds_cell' id='holds_recipient'> </td>
45                                 </tr>
46                                 <tr>
47                                         <td class='holds_cell'>&common.title.label;</td>
48                                         <td class='holds_cell' id='holds_title'> </td>
49                                 </tr>
50                                 <tr>
51                                         <td class='holds_cell'>&common.author;</td>
52                                         <td class='holds_cell' id='holds_author'> </td>
53                                 </tr>
54                                 <tr>
55                                         <td class='holds_cell'>&common.format;</td>
56                                         <td class='holds_cell' id='holds_format'> </td>
57                                 </tr>
58                                 <tr id='hold_physical_desc_row'>
59                                         <td class='holds_cell'>&common.physical.label;</td>
60                                         <td class='holds_cell' id='holds_physical_desc'> </td>
61                                 </tr>
62
63                                 <tr class='hide_me' id='holds_cn_row'>
64                                         <td class='holds_cell'>&common.call.number.label;</td>
65                                         <td class='holds_cell'><b id='holds_cn'/> </td>
66                                 </tr>
67
68                                 <tr class='hide_me' id='holds_copy_row'>
69                                         <td class='holds_cell'>&common.copy.barcode.label;</td>
70                                         <td class='holds_cell'><b id='holds_copy'/> </td>
71                                 </tr>
72
73                                 <tr class='hide_me' id='holds_type_row'>
74                                         <td class='holds_cell'>&common.hold.type.label;</td>
75                                         <td class='holds_cell hide_me' id='holds_is_cn'><b>&common.hold.volume;</b></td>
76                                         <td class='holds_cell hide_me' id='holds_is_copy'><b>&common.hold.copy;</b></td>
77                                 </tr>
78
79                                 <tr>
80                                         <td class='holds_cell'>&opac.holds.contactPhone;:</td>
81                                         <td class='holds_cell'>
82                                                 <input id='holds_phone' size='13' maxlength='12'/>
83                                                 <span style='margin-left: 4px; font-size: 7pt;'>&common.phone.format;</span>
84                                         </td>
85                                 </tr>
86                                 <tr>
87                                         <td class='holds_cell'>&common.phone.enable;</td>
88                                         <td class='holds_cell'>
89                                                 <input type='checkbox' id='holds_enable_phone'  checked='checked'
90                                                         onchange='
91                                                                 if (this.checked) $("holds_phone").disabled=false; 
92                                                                 else $("holds_phone").disabled = true;'/>
93                                         </td>
94                                 </tr>
95
96                                 <tr>
97                                         <td class='holds_cell'>&opac.holds.contactEmail;:</td>
98                                         <td class='holds_cell' id='holds_email'> 
99                         <span class='hide_me' id='holds.no_email'>
100                            &common.email.none;<br/>
101                            &common.email.set;
102                         </span>
103                         <span class='hide_me' id='holds.no_email.xul'>
104                            &common.email.none; 
105                         </span>
106
107                     </td>
108                                 </tr>
109                                 <tr>
110                                         <td class='holds_cell'>&common.email.enable;</td>
111                                         <td class='holds_cell'>
112                                                 <input type='checkbox' id='holds_enable_email' checked='checked'/>
113                                         </td>
114                                 </tr>
115                                 <!--
116                                 <tr id='holds_depth_selector_row' class='hide_me'>
117                                         <td class='holds_cell'>Hold Range</td>
118                                         <td class='holds_cell'>
119                                                 <select id='holds_depth_selector'></select>
120                                         </td>
121                                 </tr>
122                                 -->
123                                 <tr>
124                                         <td class='holds_cell'>&opac.holds.pickupLocation;</td>
125                                         <td class='holds_cell'>
126                                                 <select id='holds_org_selector'> </select>
127                                         </td>
128                                 </tr>
129
130                 <tr>
131                     <td class='holds_cell'>
132                         &opac.holds.freeze;
133                         (<a class='classic_link' href='javascript:alert("&opac.holds.freeze.help;");'>Help</a>)
134                         </td>
135                     <td class='holds_cell'>
136                         <input type='checkbox' id='holds_frozen_chkbox' 
137                             onchange='
138                                 if($("holds_frozen_chkbox").checked) 
139                                     unHideMe($("hold_frozen_thaw_row"));
140                                 else
141                                     hideMe($("hold_frozen_thaw_row"));
142                             '> 
143                         </input>
144                     </td>
145                 </tr>
146
147                 <tr id='hold_frozen_thaw_row' class='hide_me'>
148                     <script> if($('holds_frozen_chkbox').checked) unHideMe($("hold_frozen_thaw_row"));</script>
149                     <td class='holds_cell'>
150                         &opac.holds.freeze.thaw_date;
151                     </td>
152                     <td class='holds_cell'>
153                         <input size='10' maxlength='10' id='holds_frozen_thaw_input'> </input>
154                         <button style='padding: 0px;' id='holds_frozen_thaw_date_button'>
155                             <img src='<!--#echo var="OILS_JS_BASE"-->/jscalendar/img.gif'
156                                 style="cursor: pointer; border: 1px solid red; padding: 0px; margin: -3px;"
157                                 title="Date selector"
158                                 onmouseover="this.style.background='red';"
159                                 onmouseout="this.style.background=''" />
160                         </button>
161                         &nbsp;(&opac.holds.freeze.thaw_date.format;)
162
163                         <script type="text/javascript">
164                             Calendar.setup({
165                                 inputField  : "holds_frozen_thaw_input",
166                                 ifFormat    : "%Y-%m-%d",
167                                 button      : "holds_frozen_thaw_date_button",
168                                 align       : "Tl", 
169                                 singleClick : true
170                             });
171                         </script>
172
173                     </td>
174                 </tr>
175
176                                 <tr id='holds_alt_formats_row_extras' class='hide_me'>
177                                         <td colspan='2' align='center'>
178                                                 <div style='padding: 8px;'>
179                                                         <a class='classic_link' href='javascript:void(0);' style='padding: 5px;'
180                                                                 onclick='unHideMe($("holds_alt_formats_row"));'>&common.hold.advanced;</a>
181                                                 </div>
182                                         </td>
183                                 </tr>
184
185                                 <tr id='holds_alt_formats_row' class='hide_me'>
186
187                                         <td class='holds_cell'>
188                                                 <div style='margin-bottom: 5px;'>
189                                                         <span>&common.format.alternatives; </span>
190                                                         <span> <a class='classic_link' style='color:red;' href='javascript:void(0);' 
191                                                                 onclick='alert($("holds_explain_adv").innerHTML)'>&common.help;</a></span>
192                                                 </div>
193                                                 <div>&common.control.click;</div>
194                                         </td>
195
196                                         <td class='holds_cell'>
197                                                 <select id='hold_alt_form_selector' multiple='true' style='width: 14em;'>
198                                                         <option value='at'      class='hide_me'>&opac.search.books;</option>
199                                                         <option value='at-d' class='hide_me'>&opac.search.largePrint;</option>
200                                                         <option value='i'               class='hide_me'>&opac.search.audioBooks;</option>
201                                                         <option value='g'               class='hide_me'>&opac.search.videoRecordings;</option>
202                                                         <option value='j'               class='hide_me'>&opac.search.music;</option>
203                                                 </select>
204                                         </td>
205                                 </tr>
206
207                                 <tr>
208                                         <td class='holds_cell' align='center' colspan='2'>
209                                                 <button id='holds_submit'>&opac.holds.placeHold;</button>
210                                                 <button class='hide_me' id='holds_update'>&common.hold.update;</button>
211                                                 <span style='padding: 20px;'> </span>
212                                                 <button id='holds_cancel'>&common.cancel;</button>
213                                         </td>
214                                 </tr>
215                         </tbody>
216                 </table>
217         
218                 <div class='hide_me' id='holds_success'>&opac.holds.success;</div>
219                 <div class='hide_me' id='holds_failure'>&opac.holds.failure;</div>
220                 <span class='hide_me' id='holds_bad_phone'>
221                         &common.phone.format.help;
222                 </span>
223
224                 <span class='hide_me' id='hold_not_allowed'>
225                         &common.hold.failed;
226                 </span>
227
228         </div>
229
230         <span class='hide_me' id='format_words'>
231                 <span name='at'>&opac.search.books;</span>
232                 <span name='at-d'>&opac.search.largePrint;</span>
233                 <span name='i'>&opac.search.audioBooks;</span>
234                 <span name='g'>&opac.search.videoRecordings;</span>
235                 <span name='j'>&opac.search.music;</span>
236                 <span name='m'>&opac.search.electronic;</span>
237         </span>
238
239         <span class='hide_me' id='holds_explain_adv'>&holds.advanced_options;</span>
240
241         <span class='hide_me' id='holds_pick_good_org'>&common.hold.delivery;</span>
242
243         <span class='hide_me' id='hold_dup_exists'>&common.hold.exists;</span>
244
245         <span class='hide_me' id='hold_dup_exists_override'>&common.hold.exists.override;</span>
246
247         <span id='hold_failed_patron_barred' class='hide_me'>&common.hold.barred;</span>
248
249         <span id='invalid_hold' class='hide_me'>&common.hold.item.invalid;</span>
250
251         <span id='holds_invalid_recipient' class='hide_me'>&common.hold.patron.invalid;</span>
252
253 </div>
254
255