From d6a0c1c15d051f5e3140c6204189d4cc14904b4c Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" <> Date: Tue, 9 Nov 2004 08:16:57 +0000 Subject: Fix for bug 251068: cssification of index.cgi; Patch by Vitaly Harisov; r=myk,kiko; a=myk for 2.20 --- skins/standard/index.css | 69 ++++++++++++++++++++++++++++++++++++ skins/standard/index/front.jpg | Bin 0 -> 8474 bytes template/en/default/index.html.tmpl | 52 ++++++++++++++------------- 3 files changed, 96 insertions(+), 25 deletions(-) create mode 100644 skins/standard/index.css create mode 100644 skins/standard/index/front.jpg diff --git a/skins/standard/index.css b/skins/standard/index.css new file mode 100644 index 000000000..1d180a25c --- /dev/null +++ b/skins/standard/index.css @@ -0,0 +1,69 @@ + /* The contents of this file are subject to the Mozilla Public + * License Version 1.1 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.mozilla.org/MPL/ + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * The Original Code is the Bugzilla Bug Tracking System. + * + * Contributor(s): Vitaly Harisov + */ + +/* index page (begin) */ + + #page-index + { + padding: 0.2em 0.2em 0.15em 0.2em; + } + + #page-index ul, #page-index li, + #page-index p, #page-index form p + { + margin: 0; + padding: 0; + } + + #page-index li + { + list-style: none; + } + + #page-index p + { + padding-bottom: 1em; + } + + /* Hide from NN4 */ + div#page-index .intro + { + width: 329px; + height: 220px; + + margin-top: 2.3em; + float: right; + + border: 2px solid #000; + background: transparent no-repeat url(index/front.jpg); + } + + #page-index #report + { + padding-bottom: 1em; + } + + #page-index #sidebar + { + padding-top: 1em; + } + + /* Hide from MSIE6- */ + #page-index [id]#sidebar + { + padding: 1em 0; + } + +/* index page (end) */ \ No newline at end of file diff --git a/skins/standard/index/front.jpg b/skins/standard/index/front.jpg new file mode 100644 index 000000000..7cfaaed63 Binary files /dev/null and b/skins/standard/index/front.jpg differ diff --git a/template/en/default/index.html.tmpl b/template/en/default/index.html.tmpl index d31a51d89..7f5ec95fa 100644 --- a/template/en/default/index.html.tmpl +++ b/template/en/default/index.html.tmpl @@ -19,6 +19,7 @@ # # Contributor(s): Terry Weissman # Jacob Steenhagen + # Vitaly Harisov #%] [%# INTERFACE: @@ -30,6 +31,7 @@ [% title = BLOCK %] [% terms.Bugzilla %] Main Page [% END %] +[% style_urls = [ "skins/standard/index.css" ] %] [% PROCESS global/header.html.tmpl %] @@ -54,42 +56,42 @@ function addSidebar() { - - - -
+
+
+

This is where we put in lots of nifty words explaining all about [% terms.Bugzilla %].

- But it all boils down to a choice of: -

- Search existing [% terms.bug %] reports
- Enter a new [% terms.bug %] report
- Summary reports and charts
-

+

But it all boils down to a choice of:

+ + + -

- Enter [% terms.abug %] # or some search terms:
- - - [Help] -

+
+

Enter [% terms.abug %] # or some search terms:

+ + + [Help] +
-
ant.jpg [8.5k]
+ +
+ -- cgit v1.2.3-24-g4f1b