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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 137 - (show annotations)
Thu Nov 24 22:29:39 2005 UTC (18 years, 5 months ago) by dpavlin
File size: 1839 byte(s)
 r9111@llin:  dpavlin | 2005-11-24 22:22:05 +0100
 move more design to css, minor tweaks

1 <!-- results -->
2
3 <!--
4 <pre>[%
5 USE dumper;
6 dumper.dump( params )
7 %]</pre>
8 -->
9
10 [% hits = html_results.size %]
11
12 [% IF hits < 1 %]
13 <div class="no_results">
14 No results found for '[% phrase %]'.
15 </div>
16
17 [% IF attr && attr.size %]
18 <span style="font-size: 80%; color: #a0a0a0;">
19 [ [% attr.join(", ") %] ]
20 </span>
21 [% END %]
22 [% STOP %]
23 [% END %]
24
25 <div>
26
27 [% c.prototype.form_remote_tag(
28 url => base _ 'results',
29 update => 'results',
30 loading => 'show_searching();',
31 loaded => 'hide_searching();',
32 html_options => {
33 id => 'results_form',
34 name => 'results_form',
35 }
36 ) %]
37
38 <!-- persistant fileds for search -->
39
40 <input name="all" type="hidden" />
41 <input name="_all" type="hidden" />
42 <input name="TitleProper" type="hidden" />
43 <input name="PersonalName" type="hidden" />
44
45 <input name="_template" type="hidden" id="template_name" />
46
47 <span style="float: left; font-size: 90%; color: #404040;">
48
49
50 Found
51 [%- IF hits == 100 ; -%]
52 more than
53 [%- END %]
54 [% hits %]
55 result
56 [%- IF hits > 1 ; 's' ; END %]
57 for '[% phrase %]'.
58
59 [% IF attr && attr.size %]
60 <span style="font-size: 80%; color: #a0a0a0;">
61 [
62 [% attr.join(", ") %]
63 ]
64 </span>
65 [% END %]
66
67 </span>
68
69
70
71 <span style="float: right; font-size: 80%; color: #808080;">
72 <a href="#" onclick="load_template('html_ffzg_results_nonstd.tt'); return false;">full</a>
73 <img src="img/star-red.gif"/>
74 <a href="#" onclick="load_template('html_ffzg_results_apa.tt'); return false;">APA</a>
75 <img src="img/star-red.gif"/>
76 <a href="#" onclick="load_template('html_ffzg_results_isbd.tt'); return false;">ISBD</a>
77 </span>
78
79 <br/>
80
81 <div style="clear: left; float; left;">
82
83 [% FOREACH r IN html_results %]
84 [% r %]
85 [% END %]
86
87 </div>
88
89 </form>
90
91 <div>
92
93 <div style="font-size: 80%; color: #a0a0a0;">
94 End of results.
95 </div>
96
97 <!-- end of results -->
98
99 <script type="text/javascript">
100 hide_searching();
101 </script>
102

  ViewVC Help
Powered by ViewVC 1.1.26