/[webpac2]/Webpacus/root/search.tt
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /Webpacus/root/search.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 158 - (show annotations)
Sat Nov 26 16:21:57 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 2183 byte(s)
 r11149@llin:  dpavlin | 2005-11-26 14:44:23 +0100
 make html tidy happy (and fix markup errors)

1 [% INCLUDE header.tt %]
2
3 [% url = base _ 'search/suggest/' %]
4
5 [% c.prototype.form_remote_tag(
6 url => base _ 'search/results',
7 update => 'results',
8 loading => 'show_searching();',
9 loaded => 'hide_searching();',
10 html_options => {
11 id => 'results_form',
12 name => 'results_form',
13 }
14 ) %]
15
16 <table>
17
18 <tr>
19 <td>
20 Sve:
21 </td><td>
22 <input autocomplete="off" id="sve_input" name="all" type="text" value="" size="60"/>
23 <span id="sve_input_loading" style="display: none;">
24 <img src="/img/indicator.gif" />
25 </span>
26
27 <div class="auto_complete" id="sve_input_auto_complete"></div>
28 [% c.prototype.auto_complete_field( 'sve_input', {
29 url => url _ 'TitleProper',
30 indicator => 'sve_input_loading'
31 } ) %]
32 <!-- operator for individual words -->
33 <input type="hidden" name="_all" value="AND" />
34 </td>
35
36 </tr><tr>
37
38 <td>
39 Naslov:
40 </td><td>
41 <input autocomplete="off" id="naslov_input" name="TitleProper" type="text" value="" size="60"/>
42 <span id="naslov_input_loading" style="display: none;">
43 <img src="/img/indicator.gif" />
44 </span>
45
46 <div class="auto_complete" id="naslov_input_auto_complete"></div>
47 [% c.prototype.auto_complete_field( 'naslov_input', {
48 url => url _ 'TitleProper',
49 indicator => 'naslov_input_loading'
50 } ) %]
51 </td>
52
53 </tr><tr>
54
55 <td>
56 Autor:
57 </td><td>
58 <input autocomplete="off" id="autor_input" name="PersonalName" type="text" value="" size="60"/>
59 <span id="autor_input_loading" style="display: none;">
60 <img src="/img/indicator.gif" />
61 </span>
62 <div class="auto_complete" id="autor_input_auto_complete"></div>
63 [% c.prototype.auto_complete_field( 'autor_input', {
64 url => url _ 'PersonalName',
65 indicator => 'autor_input_loading'
66 } ) %]
67 </td>
68
69 </tr>
70 </table>
71
72 <!-- additional fields which might get updated by javascript -->
73 <input name="_template" type="hidden" id="template_name" />
74 <input name="_offset" type="hidden" id="offset_value" />
75
76 <input type="submit" name="_submit" value="Search" />
77
78 <span id="searching" style="display: none;">
79 Search in progress...
80 <img src="/img/indicator.gif" />
81 </span>
82
83 <input type="reset" name="_reset" value="Clear" />
84
85 </form>
86
87 <div id="results">
88 <span class="notice">No results yet.</span>
89 </div>
90
91 [% INCLUDE footer.tt %]

  ViewVC Help
Powered by ViewVC 1.1.26