]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/searchbar.xml
52e54845461f331b114a8d9355da282bcbbbf4e6
[working/Evergreen.git] / Open-ILS / web / opac / skin / default / xml / searchbar.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE x [ <!ENTITY % ent SYSTEM "../../../locale/en-US/lang.dtd"> %ent; ] >
3
4 <!-- Searchbar for doing metarecord searches -->
5
6 <div id='searchbar'>
7
8         <!-- load my js -->
9         <script language='javascript' src='../js/search_bar.js'> </script>
10
11         <div id='searchbar_main' class='color_1'>
12
13                 <table>
14
15                         <tbody id='searchbar_table'>
16
17                                 <tr id='searchbar_main_row'>
18                 
19                                         <!-- Search query text box -->
20                                         <td align='left' class='searchbar_main_td'>
21                                                 <span class="searchbar_item">
22                                                         <input id='search_box' type='text' size='19'/>
23                                                 </span>
24                                         </td>
25                 
26
27                                         <!-- Selector for choosing the search type -->
28                                         <td align='left' class='searchbar_main_td'>
29                                                 <span class="searchbar_item">
30                                                         <select id='search_type_selector'>
31                                                                 <option value='title' selected='selected'>Title</option>
32                                                                 <option value='author'>Author</option>
33                                                                 <option value='subject'>Subject</option>
34                                                                 <option value='series'>Series</option>
35                                                                 <option value='keyword'>Keyword</option>
36                                                         </select>
37                                                 </span>
38         
39                                                 <!-- Submit Search Button -->
40                                                 <span class="searchbar_item" style='padding-left: 15px;'>
41                                                         <input type='button' id='search_submit' value='Go!' />
42                                                 </span>
43                                         </td>
44         
45                                 </tr>   
46                 
47                                 <!-- Row of extra search options -->
48                                 <tr id='searchbar_extra' class='hide_me'>
49                 
50                                         <!-- Search format selector -->
51                                         <td align='left' class='searchbar_extra_td'>
52                                                 <span class="searchbar_item">
53                                                         <select id='form_selector'>
54                                                                 <option value='all'>All Formats</option>
55                                                                 <option value='at'>Books</option>
56                                                                 <option value='at-d'>Large Print Books</option>
57                                                                 <option value='i'>Audiobooks</option>
58                                                                 <option value='g'>Video Recording</option>
59                                                                 <option value='j'>Music</option>
60                                                                 <option value='m'>Electronic Resources</option>
61                                                         </select>
62                                                 </span>
63                                         </td>
64                 
65                                         <!-- Search 'range' selector -->
66                                         <td  align='left' class='searchbar_extra_td'>
67                                                 <span class="searchbar_item">
68                                                         <select id='depth_selector'>
69                                                                 <option value='2' selected='selected'>In This Library</option>
70                                                                 <option value='1'>In This Region</option>
71                                                                 <option value='0'>In All PINES Libraries</option>
72                                                         </select>
73                                                 </span>
74                                         </td>
75                 
76                                 </tr>
77                 
78                         </tbody>
79                 </table>
80
81         </div>
82
83         <!-- Search location changer -->
84         <span class='searchbar_tag color_1'>
85                 <a id='search_location_tag_link' href='javascript:void(0);'>
86                         <span> Search Location </span>
87                 </a>
88         </span>
89         
90         <!-- Link for expanding/contracting the extra search options -->
91         <span class='searchbar_tag color_1'>
92                 <a id='search_tag_link' href='javascript:void(0);'>
93                         <span id='searchbar_tag_off'> More Options </span>
94                         <span id='searchbar_tag_on' class='hide_me'> Less Options </span>
95                 </a>
96         </span>
97
98
99 </div>
100
101
102
103
104
105