Move USE * from topnav.tt2 to new header.tt2; also some myopac work
[evergreen-equinox.git] / Open-ILS / web / templates / default / opac / myopac / circs.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 = "circs"  %]
5 <div id='myopac_checked_div' style="padding:0px;">
6     <div id="acct_checked_tabs" style="padding-bottom: 12px;color:#666;">
7         <div class="align selected" id="checked_label">
8             <img src="[% ctx.media_prefix %]/images/sub_checked_out_on.jpg" />
9         </div>
10         <div class="align" id="checked_hist_link">
11             <a class="" href="#"><img
12                 src="[% ctx.media_prefix %]/images/sub_checked_hist_off.jpg" /></a>
13         </div>
14         <div class="align hide_me" id="checked_link">
15             <a href="#">
16                 <img src="[% ctx.media_prefix %]/images/sub_checked_out_off.jpg" />
17             </a>
18         </div>
19         <div class="align selected hide_me" id="checked_hist_label">
20             <img src="[% ctx.media_prefix %]/images/sub_checked_hist_on.jpg" />
21         </div>    
22         <div class="clear-both"></div>
23     </div>
24     
25     <div class="header_middle">
26         <span id="acct_checked_header" style="float:left;">
27             Current Items Checked Out
28         </span>
29         <span style="float:right;">
30             <a class="hide_me" href="#">Export List</a>
31         </span>
32     </div>
33     <div class="clear-both"></div>
34     <div id='checked_main'>
35         <table cellpadding='0' cellspacing='0' border='0'
36             style="padding:8px 0px 6px 0px;">
37             <tr>
38                 <td>
39                     <a href="#">Renew Selected Titles</a>
40                 </td>
41                 <td style="padding-left:9px;">
42                     <a class="hide_me" href="#"><img
43                         alt="Save"
44                         src="[% ctx.media_prefix %]/images/save-btn.png" /></a>
45                 </td>
46                 <td style="padding-left:5px;">
47                     <a href="#"><img alt="Renewing Help"
48                         src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
49                 </td>
50             </tr>
51         </table>
52         <table id="acct_checked_main_header" cellpadding='0' cellspacing='0'
53             border='0'>
54             <tr>
55                 <td width="1%" style="padding-left:10px;">
56                     <input type="checkbox" id="check_all_checked" />
57                 </td>
58                 <td width="40%" style="padding-left:5px;">
59                     <span title="Click to sort" style="cursor:pointer;">
60                         Title
61                     </span> /
62                     <span title="Click to sort" style="cursor:pointer;">
63                         Author
64                     </span>
65                 </td>
66                 <td width="8%" style="padding-right:5px;" align="center">
67                     <span title="Click to sort" style="cursor:pointer;">
68                         Renews<br />Left
69                     </span>
70                 </td>
71                 <td width="13%" style="padding-left:5px;">
72                     <span title="Click to sort" style="cursor:pointer;">Due Date
73                     </span>
74                 </td>
75                 <td width="16%">
76                     <span title="Click to sort" style="cursor:pointer;">barcode</span>
77                 </td>
78                 <td width="22%">
79                     <span title="Click to sort" style="cursor:pointer;">call number</span>
80                 </td>
81             </tr>
82         </table>
83    
84         <div id="checked_temp_parent">
85             <div id="acct_checked_temp">
86                 <table cellpadding='0' cellspacing='0' border='0'
87                     style="margin-top:5px;">
88                     [% FOR circ IN ctx.circs %]
89                     <tr>
90                         <td width="1%" style="padding-left:10px;" valign="top">
91                             <input type="checkbox" name="check_all_checked" />
92                         </td>
93                         <td width="40%"
94                             style="padding-left:5px;padding-bottom:10px;"
95                             name="author">
96                             <a href="#" name="title"></a>
97                         </td>
98                         <td width="8%" name="renewals" align="center">
99                             [% circ.circ.renewal_remaining %]
100                         </td>
101                         <td width="13%" style="padding-left:5px;"
102                             name="due_date">
103                             [% date.format(ctx.parse_datetime(circ.circ.due_date),'%m/%d/%Y') %]
104                         </td>
105                         <td width="16%" name="barcode">
106                             [% circ.circ.target_copy.barcode %]
107                         </td>
108                         <td width="22%" name="call_number">
109                             [% circ.circ.target_copy.call_number.label %]
110                         </td>
111                     </tr>
112                     [% END %]
113                 </table>
114             </div>
115         </div>
116     </div>
117     <div id='checked_hist' class="hide_me" style="padding-top:8px;">
118         <table id="acct_checked_hist_header" cellpadding='0' cellspacing='0'
119             border='0' width='100%'>
120             <tr>
121                 <td width="45%" style="padding-left:15px;">
122                     <span title="Click to sort"
123                         style="cursor:pointer;">Title</span> /
124                     <span title="Click to sort"
125                         style="cursor:pointer;">Author</span>
126                 </td>
127                 <td width="22%"
128                     style="white-space:nowrap;padding-left:5px;">
129                     <span title="Click to sort"
130                         style="cursor:pointer;">Call Number</span>
131                 </td>
132                 <td width="11%">
133                     <span title="Click to sort"
134                         style="cursor:pointer;">Checkout</span>
135                 </td>
136                 <td width="11%">
137                     <span title="Click to sort"
138                         style="cursor:pointer;">Due Date</span>
139                 </td>
140                 <td width="11%">
141                     <span title="Click to sort"
142                         style="cursor:pointer;">Returned</span>
143                 </td>
144             </tr>
145         </table>
146         <table cellpadding='0' cellspacing='0' border='0'
147             style="margin-top:5px;" width="100%">
148             <tbody id="acct_checked_hist_parent">
149                 <tr id="acct_checked_hist_temp">
150                     <td width="45%"
151                         style="padding-left:15px;padding-bottom:10px;">
152                         <a href="#" name="title"></a> /
153                         <span name="author"></span>
154                     </td>
155                     <td width="22%" style="padding-left:5px;"
156                         name="call_number"></td>
157                     <td width="11%" name="checkout"></td>
158                     <td width="11%" name="due_date"></td>
159                     <td width="11%" name="returned"
160                         nowrap="nowrap" style="white-space:nowrap;"></td>
161                 </tr>
162             </tbody>
163         </table>
164     </div>
165     <div id='non_cat_circs_div' class='hide_me'>
166         <br/>
167         <div style='text-align: center'><b>[% l("Other Circulations") %]</b></div>
168         <table class='data_grid' width='100%'>
169             <thead>
170                 <tr>
171                     <td>[% l("Circulating Library") %]</td>
172                     <td>[% l("Circulation Type") %]</td>
173                     <td>[% l("Please return by ...") %]</td>
174                 </tr>
175             </thead>
176             <tbody id='non_cat_circs_tbody'>
177                 <tr id='non_cat_circs_row'>
178                     <td name='circ_lib'/>
179                     <td name='item_type'/>
180                     <td name='circ_time'/>
181                 </tr>
182             </tbody>
183         </table>
184     </div>
185     <div id='myopac_renew_success' class='hide_me'>[% l("item(s) successfully renewed") %]</div>
186     <span class='hide_me' id='myopac_renew_confirm'>[% l("Are you sure you wish to renew the selected item(s)?") %]</span>
187     <span class='hide_me' id='myopac_renew_fail'>[% l("The system is unable to renew the selected item at this time.  This usually means the item is needed to fulfill a hold.  Please see a librarian for further help.") %]</span>
188    <span class='hide_me' id='myopac_renew_fail2'>[% l("Library policy prevents the renewal of this item at this time.  Please see a librarian for further details.") %]</span>
189 </div>
190 [% END %]