summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-05-10 18:42:59 +0200
committerlpsolit%gmail.com <>2007-05-10 18:42:59 +0200
commit741e6ebb58bade895c51f7b6fe4d674e9a2dc451 (patch)
tree53d44d8d1991ae7bb3311126946e1f79f9c46121 /template
parent61ec5e9081b152a7dea750f113aadf9c945ec2a8 (diff)
downloadbugzilla-741e6ebb58bade895c51f7b6fe4d674e9a2dc451.tar.gz
bugzilla-741e6ebb58bade895c51f7b6fe4d674e9a2dc451.tar.xz
Bug 345290: Give a CSS class to various sections of the buglist, including quips - Patch by timeless <timeless@bemail.org> r=wicked a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/list/list.html.tmpl56
1 files changed, 32 insertions, 24 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index a12c39a9e..dfed2f024 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -51,31 +51,35 @@
atomlink = "buglist.cgi?$urlquerypart&title=$title&ctype=atom"
%]
-<div align="center">
- [% IF Param('timezone') %]
- <b>[% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]</b><br>
- [% ELSE %]
- <b>[% time2str("%a %b %e %Y %T", currenttime) %]</b><br>
- [% END %]
+<div class="bz_query_head" align="center">
+ <span class="bz_query_timestamp">
+ [% IF Param('timezone') %]
+ <b>[% time2str("%a %b %e %Y %T %Z", currenttime, Param('timezone')) %]</b><br>
+ [% ELSE %]
+ <b>[% time2str("%a %b %e %Y %T", currenttime) %]</b><br>
+ [% END %]
+ </span>
[% IF debug %]
- <p>
+ <p class="bz_query_debug">
[% FOREACH debugline = debugdata %]
[% debugline FILTER html %]<br>
[% END %]
</p>
- <p>[% query FILTER html %]</p>
+ <p class="bz_query">[% query FILTER html %]</p>
[% END %]
[% IF user.settings.display_quips.value == 'on' %]
[% DEFAULT quip = "$terms.Bugzilla would like to put a random quip here, but no one has entered any." %]
- <a href="quips.cgi"><i>[% quip FILTER html %]</i></a>
+ <span class="bz_quip">
+ <a href="quips.cgi"><i>[% quip FILTER html %]</i></a>
+ </span>
[% END %]
</div>
[% IF toolong %]
- <h2>
+ <h2 class="bz_smallminded">
This list is too long for [% terms.Bugzilla %]'s little mind; the
Next/Prev/First/Last buttons won't appear on individual [% terms.bugs %].
</h2>
@@ -88,7 +92,9 @@
[%############################################################################%]
[% IF bugs.size > 9 %]
- [% bugs.size %] [%+ terms.bugs %] found.
+ <span class="bz_result_count">
+ [% bugs.size %] [%+ terms.bugs %] found.
+ </span>
[% END %]
[%############################################################################%]
@@ -110,13 +116,15 @@
[%# Succeeding Status Line #%]
[%############################################################################%]
-[% IF bugs.size == 0 %]
- [% terms.zeroSearchResults %].
-[% ELSIF bugs.size == 1 %]
- One [% terms.bug %] found.
-[% ELSE %]
- [% bugs.size %] [%+ terms.bugs %] found.
-[% END %]
+<span class="bz_result_count">
+ [% IF bugs.size == 0 %]
+ [% terms.zeroSearchResults %].
+ [% ELSIF bugs.size == 1 %]
+ One [% terms.bug %] found.
+ [% ELSE %]
+ [% bugs.size %] [%+ terms.bugs %] found.
+ [% END %]
+</span>
<br>
@@ -137,7 +145,7 @@
<table>
<tr>
[% IF bugs.size > 0 %]
- <td valign="middle">
+ <td valign="middle" class="bz_query_buttons">
<form method="post" action="show_bug.cgi">
[% FOREACH id = buglist %]
<input type="hidden" name="id" value="[% id FILTER html %]">
@@ -164,7 +172,7 @@
<td>&nbsp;</td>
- <td valign="middle">
+ <td valign="middle" class="bz_query_links">
<a href="buglist.cgi?
[% urlquerypart FILTER html %]&amp;ctype=csv">CSV</a> |
<a href="buglist.cgi?
@@ -193,7 +201,7 @@
</td>
[% END %]
- <td valign="middle">
+ <td valign="middle" class="bz_query_edit">
[% editqueryname = searchname OR defaultsavename OR '' %]
<a href="query.cgi?[% urlquerypart FILTER html %]
[% IF editqueryname != '' %]&amp;known_name=
@@ -202,7 +210,7 @@
</td>
[% IF searchtype == "saved" %]
- <td valign="middle" nowrap="nowrap">
+ <td valign="middle" nowrap="nowrap" class="bz_query_forget">
|
<a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
[% searchname FILTER url_quote %]">Forget&nbsp;Search&nbsp;'
@@ -211,7 +219,7 @@
[% ELSE %]
<td>&nbsp;</td>
- <td valign="middle">
+ <td valign="middle" class="bz_query_remember">
<form method="get" action="buglist.cgi">
<input type="submit" id="remember" value="Remember search"> as
<input type="hidden" name="newquery"
@@ -227,7 +235,7 @@
</table>
[% IF cgi.param('product').size == 1 && cgi.param('product') != "" %]
- <p>
+ <p class="bz_query_single_product">
<a href="enter_bug.cgi?product=[% cgi.param('product') FILTER url_quote %]">File
a new [% terms.bug %] in the "[% cgi.param('product') FILTER html %]" product</a>
</p>