]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/opac/myopac/holds.tt2
Move USE * from topnav.tt2 to new header.tt2; also some myopac work
[working/Evergreen.git] / Open-ILS / web / templates / default / opac / myopac / holds.tt2
1 [%  PROCESS "default/opac/parts/header.tt2";
2     WRAPPER "default/opac/parts/base.tt2" +
3         "default/opac/parts/myopac/base.tt2";
4     myopac_page = "holds"  %]
5 <div id='myopac_holds_div'>
6     <div id="acct_holds_tabs" style="padding-bottom: 12px;color:#666;">
7         <div class="align selected" id="holds_label">
8             <img src="[% ctx.media_prefix %]/images/sub_holds_on.jpg" />
9         </div>
10         <div class="align hide_me" id="holds_hist_link">
11             <a href="#"><img
12                 src="[% ctx.media_prefix %]/images/sub_holds_hist_off.jpg" /></a>
13         </div>
14         <div class="align hide_me" id="holds_link">
15             <a href="#"><img
16                 src="[% ctx.media_prefix %]/images/sub_holds_off.jpg" /></a>
17         </div>
18         <div class="align selected hide_me" id="holds_hist_label">
19             <img src="[% ctx.media_prefix %]/images/sub_holds_hist_on.jpg" />
20         </div>  
21         <div class="clear-both"></div>
22     </div>
23     <div class="header_middle">
24         <span id="acct_holds_header" style="float:left;">
25             Current Items on Hold
26         </span>
27         <span style="float:right;">
28             <a class="hide_me" href="#">Export List</a>
29         </span>
30     </div>
31     <div class="clear-both"></div>
32     <div id='holds_main'>
33         <table cellpadding='0' cellspacing='0' border='0'
34             style="padding:8px 0px 6px 0px;">
35             <tr>
36                 <td width="1">
37                     <select id="acct_holds_actions">
38                         <option id='myopac_holds_actions_none' value=''>
39                         -- [% l("Actions for selected holds") %] --
40                         </option>
41                         <option value='freeze'>
42                             [% l("Suspend") %]
43                         </option>
44                         <option value='thaw'>
45                             [% l("Activate") %]
46                         </option>
47                         <option value='thaw_date'>
48                             [% l("Set Active Date") %]
49                         </option>
50                         <option value='cancel'>
51                             [% l("Cancel") %]
52                         </option>
53                     </select>
54                 </td>
55                 <td width="1" style="padding-left:9px;">
56                     <a href="#"><img
57                         alt="Save"
58                         src="[% ctx.media_prefix %]/images/save-btn.png" /></a>
59                 </td>
60                 <td width="1" style="padding-left:5px;">
61                     <a href="#"><img
62                         alt="Holds Help"
63                         src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
64                 </td>
65                 <td align="right">
66                     <select class="hide_me" id="holds_sort">
67                         <option value="">-- Sort By --</option>
68                         <option value="title">Title</option>
69                         <option value="pickup">PickUp Location</option>
70                         <option value="status">Status</option>
71                     </select>
72                 </td>
73             </tr>
74         </table>
75         <table id="acct_holds_main_header" cellpadding='0' cellspacing='0'
76             border='0' width="100%">
77             <tr>
78                 <td width="36" align="center">
79                     <input type="checkbox" id="check_all_holds" />
80                 </td>
81                 <td width="138">
82                     <span title="Click to sort"
83                         style="cursor:pointer;">
84                         Title
85                     </span>
86                 </td>
87                 <td width="123">
88                     <span title="Click to sort" style="cursor:pointer;">Author</span>
89                 </td>
90                 <td width="64">
91                     <span title="Click to sort"
92                         style="cursor:pointer;">Format</span>
93                 </td>
94                 <td width="136">
95                     <span title="Click to sort"
96                         style="cursor:pointer;">Pickup Location</span>
97                 </td>
98                 <td width="104">Activate</td>
99                 <td width="106">Cancel if not<br />filled by</td>
100                 <td width="95">Active</td>
101                 <td width="172">
102                     <span title="Click to sort"
103                         style="cursor:pointer;">Status</span>
104                 </td>
105             </tr>
106         </table>
107         <div class="hide_me">
108             <select id="hold_pickup_lib_temp" name="hold_pickup_lib_sel"
109                 class="hide_me" style="width:125px;height:21px;"></select>
110         </div>
111
112         <table cellpadding='0' cellspacing='0' border='0' width="100%">
113             <tbody id="holds_temp_parent">
114                 <tr id="acct_holds_temp" name="acct_holds_temp"
115                     class="acct_holds_temp">
116                     <td width="36" align="center" style="text-align:center;">
117                         <input type="checkbox" name="check_all_holds" />
118                     </td>
119                     <td width="138">
120                         <div style="margin-top:10px;margin-bottom:10px;">
121                             <a href="#" name="myopac_holds_title_link"></a>
122                         </div>
123                     </td>
124                     <td width="123">
125                         <div style="margin-top:10px;margin-bottom:10px;"
126                             name="myopac_holds_author"></div>
127                     </td>
128                     <td width="64">
129                         <div style="width:26px;height:23px;margin-top:6px;margin-bottom:6px;"
130                             name="myopac_holds_formats">
131                         </div>
132                     </td>
133                     <td width="136">
134                         <span name="hold_pickup_lib_span"></span>
135                         <span name="hold_pickup_lib"></span>
136                     </td>
137                     <td width="104">
138                         <input
139                             title="Enter a date (e.g. 10/21/2010)"
140                             class="hide_me" style="width:91px;"
141                             name="activate_box" type="text" />
142                             <span name="activate_date"></span>
143                     </td>
144                     <td width="106">
145                         <input title="Enter a date (e.g. 10/21/2010)"
146                             class="hide_me" style="width:91px;"
147                             name="hold_expires_box" type="text" />
148                             <span name="hold_expires"></span>
149                     </td>
150                     <td width="95">
151                         <select name="hold_active_sel"
152                             style="width:90px;" class="hide_me">
153                             <option value="f">Active</option>
154                             <option value="t">Suspended</option>
155                         </select>
156                         <span name="hold_active"></span>
157                     </td>
158                     <td width="110">
159                         <div name="acct_holds_status"
160                             style="margin-top:10px;margin-bottom:10px;">
161                             <span class="hide_me"
162                                 name="hold_ready_expire"></span>
163                         </div>
164                     </td>
165                     <td width="62" align="right"
166                         style="text-align:right;padding-right:7px;">
167                         <a name="hold_edit_link" href="#">Edit</a>
168                         <a href="#" name="hold_save_link"
169                             class="hide_me">Save</a>
170                         <a href="#" name="hold_cancel_link"
171                             class="hide_me">Back</a>
172                     </td>
173                 </tr>
174             </tbody>
175         </table>
176     </div>
177     <div id='holds_hist_table' class="hide_me">testing...</div>
178
179     <span id='myopac.holds.cancel.confirm' class='hide_me'>[% l("Are you sure you wish to cancel the selected holds?") %]</span>
180     <span id='myopac.holds.freeze.confirm' class='hide_me'>[% l("Are you sure you wish to suspend the selected holds?  If an item has already been selected to fulfill the hold, it will not be suspended") %]</span>
181     <span id='myopac.holds.thaw.confirm' class='hide_me'>[% l("Are you sure you wish to activate the selected holds?") %]</span>
182     <span id='myopac.holds.thaw_date.confirm' class='hide_me'>[% l("Are you sure you wish to change the activate date for the selected holds?") %]</span>
183     <span id='myopac.holds.freeze.select_thaw' class='hide_me'>[% l("Select an automatic activation date.  If no date is chosen, the holds will remain suspended until they are manually activated.") %]</span>
184
185     <table width='100%' id='myopac_holds_processing' class='hide_me'>
186         <tr><td>[% l("Processing holds... This may take a moment.") %]</td></tr>
187     </table>
188    
189     <span class='hide_me' id='myopac_holds_cancel_verify'>
190         [% l("If you wish to cancel the selected hold, click OK, otherwise click Cancel.") %]
191     </span>
192 </div>
193 <div id='myopac_holds_thaw_date_form' class='hide_me'>
194     <div id='myopac_holds_freeze_select_thaw'>
195         [% l("Select an automatic activation date.  If no date is chosen, the holds will remain suspended until they are manually activated.") %]
196     </div>
197     <p>
198         <input size='10' maxlength='10'
199             type='text' id='myopac_holds_thaw_date_input' />
200     </p>
201     <p>
202         <button>[% l("Submit") %]</button>
203     </p>
204 </div>
205 [% END %]