avoid horizontal scrollbar
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / result_table.xml
1 <?xml version='1.0'?>
2
3 <!-- Search results are spit into this table -->
4
5 <div id='result_table_div' xmlns:xi="http://www.w3.org/2001/XInclude">
6
7         <table id='res_table'> 
8
9                 <!-- for some reason, this is the only way i can force the cell widths -->
10                 <thead id='result_thead'>
11                         <td class='result_table_pic_header'></td>
12                         <td> </td>
13                 </thead>
14
15                 <tbody id='result_table'>
16
17                         <tr>
18
19                                 <td class='result_table_row'>
20
21                                         <table style='width: 100%;'>
22                                                 <tbody>
23
24                                                         <tr style='height: 1em; background: #E0F6E0'>
25
26                                                                 <td style='vertical-align: top;'  id='next_prev_links'>
27
28                                                                         <span class='hide_me' id='result_info_div' style='font-size: 9pt;'>
29                                                                                 <span> Results </span> 
30                                                                                 <span id='offset_start'> </span>
31                                                                                 <span> - </span>
32                                                                                 <span id='offset_end'> </span>
33                                                                                 <span> of </span>
34                                                                                 <span id='result_count'> </span>
35                                                                                 <span style='padding-left: 6px;'> (page </span>
36                                                                                 <span id='current_page'> </span>
37                                                                                 <span> of </span>
38                                                                                 <span id='num_pages'> </span>
39                                                                         </span>
40
41                                                                         <span style='padding-left: 40px;' >
42                                                                                 <a class='search_page_nav_link' id='search_home_link' title="First results page">Start</a>
43                                                                                 <a class='search_page_nav_link' id='prev_link' title='Previus page'> &llt;&llt; </a>
44                                                                                 <span class='search_page_nav_link' id='page_numbers'> </span>
45                                                                                 <a  class='search_page_nav_link' id='next_link' title='Next Page'> &ggt;&ggt; </a>
46                                                                                 <a  class='search_page_nav_link' id='end_link' title="Last results page">End</a>
47                                                                         </span>
48
49                                                                 </td>
50
51                                                                 <td  colspan='5' 
52                                                                         style='padding-bottom: 4px; text-align:center; vertical-align: top; border-bottom: 1px solid #E0E0E0;'>
53                                                                                 <span id='search_info_table' class='hide_me' style='font-size: 8pt;'> <b>Available copies / Total copies </b></span>
54                                                                 </td>
55                                                         </tr>
56
57                                                         <tr style='height: 2em;' id='result_thead_row'>
58                                                                 <td> </td>
59                                                                 <td rowspan='2' style='font-size: 8pt; padding-top: 4px;' class='copy_count_cell' 
60                                                                         width='12%' align='center' name='result_thead_ccell'> </td>
61                                                         </tr>
62
63
64                                                 </tbody>
65                                         </table>
66                                 </td>
67                         </tr>
68
69
70
71
72                         <!-- Template for displaying a search result.  This row template is cloned and inserted
73                                         for each result returned -->
74
75                         <tr id='result_table_template' class='hide_me'>
76
77                                 <!-- Jacket image goes here -->
78
79                                 <td class='result_table_row' align='left'>
80                                         <table class='result_table_subtable'>
81                                                 <tbody class='result_table_subtbody'>
82
83                                                         <tr style='height: 1em' name='counts_row'>
84
85                                                                 <td  rowspan='3' class='result_table_pic_header'><a><img name='item_jacket' class='result_table_pic'/></a></td>
86
87                                                                 <td class='result_table_title_cell' name='result_table_title_cell'>
88                                                                         <a title="View titles for this record" name='item_title' class='search_link'> 
89                                                                                 <!-- Title goes here -->
90                                                                         </a>
91                                                                 </td>
92
93                                                                 <!-- Copy this td for each copy count appended -->
94                                                                 <td  rowspan='3' nowrap='nowrap' name="copy_count_cell" class='copy_count_cell'> 
95                                                                 </td>
96
97                                                         </tr>
98                 
99                                                         <tr style='height: 1em' >
100                                                                 <td class='result_table_author_cell'>
101                                                                         <a title="Perform an Author Search" name='item_author' class='search_link'> 
102                                                                                 <!-- Author goes here -->
103                                                                         </a>
104                                                                         <span name='result_table_extra_span' class='hide_me'>
105                                                                                 <span name='result_table_edition_span' style='padding-left: 10px;'> -- </span>
106                                                                                 <span name='result_table_pub_box' style='padding-left: 10px;'> 
107                                                                                         <span> [ </span>
108                                                                                         <span name='result_table_pub_span'> </span>
109                                                                                         <span> ] </span>
110                                                                                 </span>
111                                                                         </span>
112                                                                 </td>
113                                                         </tr>
114
115                                                         <tr style='height:1em;' >
116                                                                 <td name='result_table_format_cell' class='result_table_format_cell'>
117
118                                                                         <a name='text_link' class='search_link'> 
119                                                                                 <img src='../../../images/tor/text.jpg' class='dim tor_pic'> </img>
120                                                                         </a>
121
122                                                                         <a name='sound recording-nonmusical_link' class='search_link'> 
123                                                                                 <img src='../../../images/tor/sound recording-nonmusical.jpg' class='dim tor_pic'> </img>
124                                                                         </a>
125
126                                                                         <a name='moving image_link' class='search_link'> 
127                                                                                 <img src='../../../images/tor/moving image.jpg' class='dim tor_pic'> </img>
128                                                                         </a>
129
130                                                                         <a name='software, multimedia_link' class='search_link'> 
131                                                                                 <img src='../../../images/tor/software, multimedia.jpg' class='dim tor_pic'> </img>
132                                                                         </a>
133
134                                                                         <a name='sound recording-musical_link' class='search_link'> 
135                                                                                 <img src='../../../images/tor/sound recording-musical.jpg' class='dim tor_pic'> </img>
136                                                                         </a>
137
138                                                                         <a name='cartographic_link' class='search_link'> 
139                                                                                 <img src='../../../images/tor/cartographic.jpg' class='dim tor_pic'> </img>
140                                                                         </a>
141
142                                                                         <a name='mixed material_link' class='search_link'> 
143                                                                                 <img src='../../../images/tor/mixed material.jpg' class='dim tor_pic'> </img>
144                                                                         </a>
145
146                                                                         <a name='notated music_link' class='search_link'> 
147                                                                                 <img src='../../../images/tor/notated music.jpg' class='dim tor_pic'> </img>
148                                                                         </a>
149
150                                                                         <a name='sound recording_link' class='search_link'> 
151                                                                                 <img src='../../../images/tor/sound recording.jpg' class='dim tor_pic'> </img>
152                                                                         </a>
153
154                                                                         <a name='still images_link' class='search_link'> 
155                                                                                 <img src='../../../images/tor/still images.jpg' class='dim tor_pic'> </img>
156                                                                         </a>
157
158                                                                         <a name='three dimensional object_link' class='search_link'> 
159                                                                                 <img src='../../../images/tor/three dimensional object.jpg' class='dim tor_pic'> </img>
160                                                                         </a>
161
162                                                                         <span class='hide_me' style='color: #9999FF; padding-left: 10px; font-size: 7pt; font-weight: 300;'> 
163                                                                                 <span>Relevancy </span><span name='relevancy_span'> </span>
164                                                                         </span>
165
166                                                                 </td>
167                                                         </tr>
168
169                                                 </tbody>
170                                         </table>
171                                 </td>
172                         </tr>
173                 </tbody>
174         </table>
175
176         <script language='javascript'>
177                 config.names.result.format_cell = 'result_table_format_cell';
178                 config.names.result.format_link = 'resource_link'
179                 config.names.result.format_pic = 'format_pic'
180         </script>
181
182 </div>
183
184