/[webpac2]/Webpacus/root/autocomplete.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/autocomplete.tt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 91 - (show annotations)
Tue Nov 22 12:57:04 2005 UTC (18 years, 6 months ago) by dpavlin
File size: 1339 byte(s)
 r9011@llin:  dpavlin | 2005-11-21 21:00:54 +0100
 fix loading indicator

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

  ViewVC Help
Powered by ViewVC 1.1.26