1 |
[% INCLUDE header.tt %] |
2 |
|
3 |
[% c.prototype.auto_complete_stylesheet %] |
4 |
[% url = base _ 'search/suggest/' %] |
5 |
|
6 |
[% c.prototype.form_remote_tag( |
7 |
url => base _ 'results', |
8 |
update => 'results', |
9 |
loading => 'show_searching();', |
10 |
loaded => 'hide_searching();', |
11 |
) %] |
12 |
|
13 |
<table> |
14 |
<tr> |
15 |
<td> |
16 |
Naslov: |
17 |
</td><td> |
18 |
<input autocomplete="off" id="naslov_input" name="TitleProper" type="text" value="" size="60"/> |
19 |
<span id="naslov_input_loading" style="display: none;"> |
20 |
<img src="/img/indicator.gif" /> |
21 |
</span> |
22 |
</div> |
23 |
|
24 |
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
25 |
[% c.prototype.auto_complete_field( 'naslov_input', { |
26 |
url => url _ 'TitleProper', |
27 |
indicator => 'naslov_input_loading' |
28 |
} ) %] |
29 |
</td> |
30 |
</tr><tr> |
31 |
<td> |
32 |
Autor: |
33 |
</td><td> |
34 |
<input autocomplete="off" id="autor_input" name="PersonalName" type="text" value="" size="60"/> |
35 |
<span id="autor_input_loading" style="display: none;"> |
36 |
<img src="/img/indicator.gif" /> |
37 |
</span> |
38 |
</div> |
39 |
<div class="auto_complete" id="autor_input_auto_complete"></div> |
40 |
[% c.prototype.auto_complete_field( 'autor_input', { |
41 |
url => url _ 'PersonalName', |
42 |
indicator => 'autor_input_loading' |
43 |
} ) %] |
44 |
</td> |
45 |
</tr> |
46 |
</table> |
47 |
|
48 |
<input type="submit" name="_submit" value="Search" /> |
49 |
|
50 |
<span id="searching" style="display: none;"> |
51 |
Search in progress... |
52 |
<img src="/img/indicator.gif" /> |
53 |
</span> |
54 |
|
55 |
</form> |
56 |
|
57 |
<div id="results"> |
58 |
<span style="color: #808080;">no results yet</span> |
59 |
</div> |
60 |
|
61 |
[% INCLUDE footer.tt %] |