13 |
} |
} |
14 |
) %] |
) %] |
15 |
|
|
16 |
<table> |
<table id="search_table"> |
17 |
|
|
18 |
<tr> |
<tr> |
19 |
<td> |
<td> |
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', { |
29 |
url => url _ 'TitleProper', |
url => url _ '?search=all&show=TitleProper', |
30 |
indicator => 'sve_input_loading', |
indicator => 'sve_input_loading', |
31 |
frequency => 0.8, |
frequency => 0.8, |
32 |
} ) %] |
} ) %] |
46 |
|
|
47 |
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
<div class="auto_complete" id="naslov_input_auto_complete"></div> |
48 |
[% c.prototype.auto_complete_field( 'naslov_input', { |
[% c.prototype.auto_complete_field( 'naslov_input', { |
49 |
url => url _ 'TitleProper', |
url => url _ '?search=TitleProper&show=TitleProper', |
50 |
indicator => 'naslov_input_loading', |
indicator => 'naslov_input_loading', |
51 |
frequency => 0.8, |
frequency => 0.8, |
52 |
} ) %] |
} ) %] |
63 |
</span> |
</span> |
64 |
<div class="auto_complete" id="autor_input_auto_complete"></div> |
<div class="auto_complete" id="autor_input_auto_complete"></div> |
65 |
[% c.prototype.auto_complete_field( 'autor_input', { |
[% c.prototype.auto_complete_field( 'autor_input', { |
66 |
url => url _ 'Names', |
url => url _ '?search=Names&show=Names', |
67 |
indicator => 'autor_input_loading', |
indicator => 'autor_input_loading', |
68 |
frequency => 0.8, |
frequency => 0.8, |
69 |
} ) %] |
} ) %] |
75 |
<!-- additional fields which might get updated by javascript --> |
<!-- additional fields which might get updated by javascript --> |
76 |
<input name="_template" type="hidden" id="template_name" /> |
<input name="_template" type="hidden" id="template_name" /> |
77 |
<input name="_page" type="hidden" id="page_nr" /> |
<input name="_page" type="hidden" id="page_nr" /> |
78 |
<input name="_ajax" type="hidden" value="0" id="_ajax" /> |
<input name="_reset" type="hidden" id="_reset" value="sve_input,naslov_input,autor_input"/> |
79 |
|
|
80 |
|
<div class="databases"> |
81 |
|
<a href="#" onclick="return toggleLinkAndElement( this, 'database_list', 'Hide databases');">Select databases</a> |
82 |
|
<ul id="database_list" style="display: none;"> |
83 |
|
[% FOREACH db = c.comp('Model::Databases').list({ require_input => 1 }).sort('name') %] |
84 |
|
<li><input type="checkbox" name="_database" value="[% db.prefix %]" onclick="return checkbox_click();"><a href="#" onclick="return checkbox_single('_database','[% db.prefix %]');">[% db.name %]</a></li> |
85 |
|
[% END %] |
86 |
|
</ul> |
87 |
|
</div> |
88 |
|
|
89 |
|
<div class="buttons"> |
90 |
|
|
91 |
<input type="submit" name="_submit" value="Search" |
<input type="submit" name="_submit" value="Search" |
92 |
onclick="reset_page_nr( 1 ); return true;" |
onclick="reset_page_nr( 1 ); return true;" |
97 |
<img src="/img/indicator.gif" /> |
<img src="/img/indicator.gif" /> |
98 |
</span> |
</span> |
99 |
|
|
100 |
<input type="reset" name="_reset" value="Clear" /> |
<input type="button" name="_reset_button" value="Clear" onclick="return reset_form();" /> |
101 |
|
|
|
</form> |
|
|
|
|
|
<div class="databases"> |
|
|
<a href="#" onclick="return toggleLinkAndElement( this, 'database_list', 'Select databases');">Databases</a> |
|
|
<div id="database_list"> |
|
|
<ul> |
|
|
[% FOREACH db = c.comp('Model::Databases').list %] |
|
|
<li>[% db.name %]</li> |
|
|
[% END %] |
|
|
</ul> |
|
|
</div> |
|
102 |
</div> |
</div> |
103 |
|
|
104 |
|
</form> |
105 |
|
|
106 |
<div id="results"> |
<div id="results"> |
107 |
[% IF results ; results ; ELSE %] |
[% IF results ; results ; ELSE %] |
108 |
<span class="notice">No results yet.</span> |
<span class="notice">No results yet.</span> |