- reorganize advanced search: put results on top;

- fix CSS errors;
- obfuscate email addresses and add privacy notice.
This commit is contained in:
ccooper%deadsquid.com 2005-10-14 23:08:41 +00:00
parent e46c1daf92
commit fa8d4c7eb2
5 changed files with 16 additions and 14 deletions

View File

@ -32,9 +32,14 @@ h1.firstHeading, h1.errorHeading {
border-bottom: none;
margin-top: 0;
font-size: 1.8em;
line-height: 1.8em;
text-transform: lowercase;
}
h1.firstHeading a {
font-size: 0.5em;
}
h1.errorHeading {
color: #F00;
}
@ -677,12 +682,9 @@ table.tcm td.header {
background-color: #d0d0d0;
}
td.content {
}
td.content ul, td.content ol {
margin-left: 1em
margin-right: 1em
margin-left: 1em;
margin-right: 1em;
padding: 0px;
}
@ -812,6 +814,7 @@ div.section-full {
div.section-header {
padding: 10px;
font-size: 1.4em;
line-height: 1.4em;
font-weight: bold;
color: #666666;
text-transform: lowercase;

View File

@ -7,10 +7,10 @@
<div id="content">
<h1 class="firstHeading">[% title %]</h1>
[% INCLUDE reporting/advanced_search_form.tmpl %]
<h1 class="firstHeading">Search Results</h1>
<h1 class="firstHeading">Advanced Search Results <a href="#search_form">(Jump to the Advanced Search Form)</a></h1>
[% INCLUDE reporting/test_results.tmpl %]
<h1 class="firstHeading"><a name="search_form"></a>[% title %]</h1>
[% INCLUDE reporting/advanced_search_form.tmpl %]
</div> <!--END content-->

View File

@ -19,7 +19,7 @@ Summary Information
</tr>
<tr class="odd">
<td>Submitted by:</td><td>[% IF result.user.email != "" %]
<a href="mailto:[% result.user.email %]?subject='Litmus test result submission #[% result.testresult_id %]'">[% result.user.email %]</a>
<a href="mailto:[% result.user.email.replace('\@','&#64;') %]?subject='Litmus test result submission #[% result.testresult_id %]'">[% result.user.email.replace('\@','&#64;') %]</a>
[% ELSE %]
Not provided
[% END %]</td>
@ -118,7 +118,6 @@ You must log in before you can leave comments.
[% END %]
</tr>
[% IF result.comments %]
[% comment_num=1 %]
[% FOREACH comment=result.comments %]
@ -126,7 +125,7 @@ You must log in before you can leave comments.
<td colspan="2">
<p><em>------- Comment <a name="c[% comment_num %]" href="#c[% comment_num %]">#[% comment_num %]</a> From
[% IF comment.user.email %]
<a href="mailto:[% comment.user.email %]">[% comment.user.email %]</a>
<a href="mailto:[% comment.user.email.replace('\@','&#64;') %]">[% comment.user.email.replace('\@','&#64;') %]</a>
[% ELSE %]
Anonymous
[% END %]

View File

@ -2,7 +2,7 @@
<div class="pagetools">
<div>
<h3>Welcome!</h3>
<span class="email"><abbr title="[% defaultemail.email %]">[% defaultemail.email.replace('\@.*','') %]</abbr></span>
<span class="email"><abbr title="[% defaultemail.email.replace('\@','&#64;') %]">[% defaultemail.email.replace('\@.*','') %]</abbr></span>
<p align="right"><a href="logout.cgi">Log out</a></p>
<!-- <h3>Log in</h3>
<p>Username:<br/><input type="text" name="username" value="" size="10"></p>

View File

@ -73,8 +73,8 @@ Top Testers
[% FOREACH curtester = toptesters %]
<tr [% IF not (loop.count % 2) %]class="even"[% ELSE %]class="odd"[% END %]>
<td align="center">[% loop.count %]</td>
<td align="center">[% IF curtester.email %]<a href="mailto:[% curtester.email FILTER html %]">[% curtester.email FILTER html %]</a>[% ELSE %]Anonymous[% END %]</td>
<td align="center">[% curtester.numtests FILTER html %]</td>
<td align="center">[% IF curtester.email %]<a href="mailto:[% curtester.email.replace('\@','&#64;') %]">[% curtester.email.replace('\@','&#64;') %]</a>[% ELSE %]Anonymous[% END %]</td>
<td align="center">[% curtester.numtests %]</td>
</tr>
[% END %]
[% ELSE %]