Template Toolkit OPAC
[working/Evergreen.git] / Open-ILS / src / templates / booking / pull_list.tt2
1 [% WRAPPER "base.tt2" %]
2 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/booking/common.js"></script>
3 <script type="text/javascript" src="[% ctx.media_prefix %]/js/ui/default/booking/pull_list.js"></script>
4 <link rel="stylesheet" type="text/css" href="[% ctx.media_prefix %]/css/skin/[% ctx.skin %]/booking.css" />
5 <script type="text/javascript">openils.Util.addOnLoad(my_init);</script>
6 <div id="auto_l10n_start_here">
7     <h1 class="booking AUTO_pull_list_title"></h1>
8     <form onsubmit="populate_pull_list(this); return false;">
9         <div id="owning_lib_selector_row" class="nice_vertical_padding">
10             <label for="owning_lib_selector" class="AUTO_owning_lib_selector">
11             </label>
12             <select dojoType="openils.widget.OrgUnitFilteringSelect"
13                 id="owning_lib_selector" jsId="owning_lib_selector"
14                 searchAttr="shortname" labelAttr="shortname"></select>
15         </div>
16         <div id="interval_input_row" class="nice_vertical_padding">
17             <label for="interval_in_days" class="AUTO_interval_in_days"></label>
18
19             <!-- XXX Hardcoded values (like the ones below) are bad. -->
20             <input id="interval_in_days" name="interval_in_days"
21                 value="5" maxlength="2" />
22
23         </div>
24         <input type="submit" class="AUTO_ATTR_VALUE_fetch" />
25     </form>
26     <hr />
27     <div id="table_goes_here" class="nice_vertical_padding">
28         <table id="the_table" width="100%">
29             <thead>
30                 <tr>
31                     <th width="25%" class="AUTO_th_title_or_name"></th>
32                     <th width="10%" class="AUTO_th_barcode"></th>
33                     <th width="15%" class="AUTO_th_call_number"></th>
34                     <th width="10%" class="AUTO_th_copy_location"></th>
35                     <th width="40%" class="AUTO_th_resv_details"></th>
36                 </tr>
37             </thead>
38             <tbody id="the_table_body">
39             </tbody>
40         </table>
41         <div id="print_holder" class="nice_vertical_padding">
42             <!-- XXX Print button probably won't stay right here -->
43             <input type="button" class="AUTO_ATTR_VALUE_print"
44                 onclick="window.print();" /><!-- XXX too simplistic? -->
45         </div>
46     </div>
47     <div id="no_results" class="AUTO_no_results"></div>
48 </div>
49 [% END %]