/[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

Diff of /Webpacus/root/search.tt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 133 by dpavlin, Thu Nov 24 16:30:11 2005 UTC revision 182 by dpavlin, Sun Nov 27 18:32:24 2005 UTC
# Line 1  Line 1 
1  [% INCLUDE header.tt %]  [% INCLUDE header.tt %]
2    
 [% c.prototype.auto_complete_stylesheet %]  
3  [% url = base _ 'search/suggest/' %]  [% url = base _ 'search/suggest/' %]
4    
5  [% c.prototype.form_remote_tag(  [% c.prototype.form_remote_tag(
6          url => base _ 'results',          url => base _ 'search/results',
7          update => 'results',          update => 'results',
8          loading => 'show_searching();',          loading => 'show_searching();',
9          loaded => 'hide_searching();',          loaded => 'hide_searching();',
10            html_options => {
11                    id => 'results_form',
12                    name => 'results_form',
13            }
14  ) %]  ) %]
15    
16  <table>  <table>
# Line 20  Line 23 
23   <span id="sve_input_loading" style="display: none;">   <span id="sve_input_loading" style="display: none;">
24    <img src="/img/indicator.gif" />    <img src="/img/indicator.gif" />
25   </span>   </span>
  </div>  
26    
27   <div class="auto_complete" id="sve_input_auto_complete"></div>   <div class="auto_complete" id="sve_input_auto_complete"></div>
28  [% c.prototype.auto_complete_field( 'sve_input', {  [% c.prototype.auto_complete_field( 'sve_input', {
# Line 40  Line 42 
42   <span id="naslov_input_loading" style="display: none;">   <span id="naslov_input_loading" style="display: none;">
43    <img src="/img/indicator.gif" />    <img src="/img/indicator.gif" />
44   </span>   </span>
  </div>  
45    
46   <div class="auto_complete" id="naslov_input_auto_complete"></div>   <div class="auto_complete" id="naslov_input_auto_complete"></div>
47  [% c.prototype.auto_complete_field( 'naslov_input', {  [% c.prototype.auto_complete_field( 'naslov_input', {
# Line 58  Line 59 
59   <span id="autor_input_loading" style="display: none;">   <span id="autor_input_loading" style="display: none;">
60    <img src="/img/indicator.gif" />    <img src="/img/indicator.gif" />
61   </span>   </span>
 </div>  
62  <div class="auto_complete" id="autor_input_auto_complete"></div>  <div class="auto_complete" id="autor_input_auto_complete"></div>
63  [% c.prototype.auto_complete_field( 'autor_input', {  [% c.prototype.auto_complete_field( 'autor_input', {
64          url => url _ 'PersonalName',          url => url _ 'PersonalName',
# Line 69  Line 69 
69  </tr>  </tr>
70  </table>  </table>
71    
72  <input type="submit" name="_submit" value="Search" />  <!-- additional fields which might get updated by javascript -->
73    <input name="_template" type="hidden" id="template_name" />
74    <input name="_page" type="hidden" id="page_nr" />
75    
76    <input type="submit" name="_submit" value="Search"
77            onclick="reset_page_nr(); return true;"
78    />
79    
80  <span id="searching" style="display: none;">  <span id="searching" style="display: none;">
81     Search in progress...     Search in progress...
# Line 81  Line 87 
87  </form>  </form>
88    
89  <div id="results">  <div id="results">
90  <span style="color: #808080;">no results yet</span>  <span class="notice">No results yet.</span>
91  </div>  </div>
92    
93  [% INCLUDE footer.tt %]  [% INCLUDE footer.tt %]

Legend:
Removed from v.133  
changed lines
  Added in v.182

  ViewVC Help
Powered by ViewVC 1.1.26