stas 2002/06/27 23:36:58 Modified: src style.css tmpl/custom/html ad download_link head index index_body index_toc_section logo menu_links menu_main navbar_global navbar_local_bottom navbar_local_top page page_body prev_next_link search short_cuts sitemap sitemap_body tail title top_link wrap_box tmpl/custom/ps index_toc_section Log: a new set of templates and the stylesheet Submitted by: allan juul <[EMAIL PROTECTED]> Revision Changes Path 1.71 +215 -149 modperl-docs/src/style.css Index: style.css =================================================================== RCS file: /home/cvs/modperl-docs/src/style.css,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- style.css 14 May 2002 05:24:57 -0000 1.70 +++ style.css 28 Jun 2002 06:36:57 -0000 1.71 @@ -1,23 +1,35 @@ /*** main elements ***/ -body { - font-family: helvetica, arial, verdana, sans-serif; - font-size: 1.0em; - color: #000000; - background-color: #ffffff; +/* body specs */ + +div.logobox { + position: relative; } -p { +.body-margins { + position: absolute; + top: 0px; + left: 0px; + + /* this border MUST be _0px_ for ns4 and others */ + border: 0px; + + padding: 0px 0px 0px 0px; + margin: 0px 15px 0px 0px; +} + +/* opera */ +body[class="body-margins"] { + width: auto !important; +} + +p, dl, ul, ol { font-family: helvetica, arial, verdana, sans-serif; font-size: 1.0em; } code { font-family: courier new, courier, monospace; -} - -dl, ul, ol { - font-family: helvetica, arial, verdana, sans-serif; font-size: 1.0em; } @@ -27,20 +39,16 @@ border-style: solid; border-width: 0px 0px 0px 1px; white-space: pre; - border-color: #004080; /* same color as quotation */ - /* width: 100%; might be needed for konqueror?*/ + border-color: #004080; } - - - /*** headers ***/ h1, h2, h3, h4 { font-family: helvetica, arial, verdana, sans-serif; color: #000000; - background-color: #ffffff; + background-color: transparent; } h1 { font-size: 1.3em; } h2 { font-size: 1.2em; } @@ -54,70 +62,63 @@ /*** links ***/ /* hidden links */ -h1 a:link, h2 a:link, h3 a:link, h4 a:link, +h1 a:link, h2 a:link, h3 a:link, h4 a:link, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover { + background-color: transparent; color: #000000; text-decoration: none; } a.more { + font-family: helvetica, arial, verdana, sans-serif; font-size: 0.8em; - color: red; + background-color: transparent; + color: #993333; text-decoration: none; } -a.pdfsrc { - font-family: verdana, arial, helvetica, sans-serif; - font-size: 0.9em; - font-weight: bold; - color: #525d76; -} -a.pdfsrc:link, -a.pdfsrc:visited, -a.pdfsrc:active { +/*ul a{ text-decoration: none; -} -a.pdfsrc:hover { - text-decoration: underline; -} +}*/ -ul.toc a { +ul.toc a, dl.toc a { text-decoration: none; } -ul.toc a:hover { +ul a:hover, ul.toc a:hover, dl.toc a:hover { text-decoration: underline; } - - -div.nonselectedmenuitem a:link, -div.nonselectedmenuitem a:visited, +div.nonselectedmenuitem a:link, +div.nonselectedmenuitem a:visited, div.nonselectedmenuitem a:active { + background-color: transparent; color: #525d76; text-decoration: none; } -div.nonselectedmenuitem a:hover { - text-decoration: underline; +div.nonselectedmenuitem a:hover { + text-decoration: underline; } -div.selectedmenuitem a, -div.selectedmenuitem a:link, -div.selectedmenuitem a:visited, +div.selectedmenuitem a, +div.selectedmenuitem a:link, +div.selectedmenuitem a:visited, div.selectedmenuitem a:active { + background-color: transparent; color: #ffffff; text-decoration: none; } -div.selectedmenuitem a:hover { - text-decoration: underline; +div.selectedmenuitem a:hover { + text-decoration: underline; } div.menu-title a:link, -div.menu-title a:visited, -div.menu-title a:active, +div.menu-title a:visited, +div.menu-title a:active, div.menu-title a:hover { + background-color: transparent; color: #000000; text-decoration: none; } @@ -125,39 +126,40 @@ - /*** main boxes ***/ -div.logobox { - position: absolute; - top: 0px; - left: 0px; - /* this border MUST be _0px_ for ns4 and others */ - border: 0px; - border-style: none; - border-color: #000000; -} div.leftbox { position: absolute; - top: 55px; + top: 57px; left: 0px; + width: 174px; /* this border MUST be _1px_ for ns4 */ border: 1px; - border-style: none; - border-color: #000000; } + div.rightbox { - position: absolute; - top: 55px; - left: 190px; - padding: 0px; - padding-right: 10px; - /* this border MUST be _1px_ for ns4 */ - border: 1px; - border-style: none; - border-color: #000000; + position: relative; + top: 0px; + left: 0px; + padding: 0px 0px 0px 0px; + margin: 0px 0px 0px 196px; + border: 1px; /* this border MUST be _1px_ for ns4 */ + background-color: #ffffff; + color: #000000; +} + +div.footer { + position: relative; + top: 0px; + left: 0px; + padding: 40px 50px 20px 50px; + margin: 0px 0px 0px 196px; + border: 1px; /* this border MUST be _1px_ for ns4 */ + text-align: center; + background-color: #ffffff; + color: #000000; } div.adtext { @@ -167,52 +169,47 @@ padding: 5px; } -div.tail { +p.modified { font-family: helvetica, arial, verdana, sans-serif; font-size: 0.85em; - border: 1px; - border-style: none; - border-color: #000000; - margin-right: 0px; - padding: 5px; + text-align: center; } p.copyright { - font-size: 0.7em; + font-family: helvetica, arial, verdana, sans-serif; + font-size: 0.75em; + text-align: center; } -div.headline { +td.headline { font-family: verdana, arial, helvetica, sans-serif; - font-weight: bold; font-size: 1.3em; - background-color: #ffffff; - color: #000000; - padding: 3px; - margin-right: 0px; + font-weight: bold; } - - /*** breadcrumb ***/ td.navbarglobal { font-family: verdana, arial, helvetica, sans-serif; - color: #828da6; font-size: 0.85em; + background-color: #ffffff; + color: #525d76; } td.navbarglobal a:link, td.navbarglobal a:visited, td.navbarglobal a:active { + font-family: verdana, arial, helvetica, sans-serif; text-decoration: none; color: #828da6; - font-family: verdana, arial, helvetica, sans-serif; + background-color: #ffffff; } td.navbarglobal a:hover { + font-family: verdana, arial, helvetica, sans-serif; text-decoration: none; color: #666666; - font-family: verdana, arial, helvetica, sans-serif; + background-color: #ffffff; } @@ -220,35 +217,39 @@ - - /*** menu styles ***/ /* light blue bg-color for menu-titles */ -td.menu-title-bg { - background-color: #828da6; +td.menu-title-bg { + background-color: #828da6; + color: #ffffff; } -/* light gray/white bg-color for non-selected menu-items */ -td.non-sel-bg { - background-color: #eeeeee; +/* white bg-color for non-selected menu-items */ +td.non-sel-bg { + background-color: #ffffff; + color: #525d76; } /* dark blue bg-color for selected menu-items */ td.sel-bg { background-color: #525d76; + color: #ffffff; } div.nonselectedmenuitem { - padding: 3px; - background-color: #eeeeee; + padding: 2px 3px 2px 3px; + background-color: #ffffff; + color: #525d76; font-size: 0.9em; font-family: verdana, arial, helvetica, sans-serif; } + div.selectedmenuitem { - padding: 3px; background-color: #525d76; + color: #ffffff; + padding: 2px 3px 2px 3px; font-family: verdana, arial, helvetica, sans-serif; font-size: 0.9em; } @@ -257,16 +258,17 @@ font-family: verdana, arial, helvetica, sans-serif; font-size: 14px; font-weight: bold; - background-color: #828da6; text-align: center; - padding: 3px; + padding: 2px 3px 2px 3px; + background-color: #828da6; color: #000000; } /* dark blue border color for menu-boxes */ -td.menu-border { - background-color: #525d76; +td.menu-border { + background-color: #333333; + color: #ffffff; } @@ -274,7 +276,6 @@ div.index-section { font-family: helvetica, arial, verdana, sans-serif; font-size: 1.0em; - color: #000000; } @@ -283,28 +284,14 @@ /*** swish-e search stuff ***/ /* Wrapped around the entire search form in src/search/search.tt */ -div.search-form { - font-size: 1.0em; -} - -/* List of site sections in search.tt */ -li.search-list { - list-style: none; -} - - - -/* Search form styles */ -input { - font-size: 12px; -} - -select { - font-size: 12px; +div.search-form { + font-family: helvetica, arial, verdana, sans-serif; + font-size: 1.0em; + background-color: white; + color: white; } - /* "Results for" line in search results search.tt */ td.search-header { background-color: #525d76; @@ -333,85 +320,90 @@ /* title line for a search result */ span.search-result-title { font-family: helvetica, arial, verdana, sans-serif; - color: #000000; font-size: 1.0em; + background-color: #ffffff; + color: #000000; } /* context in search result */ div.search-summary { + font-family: helvetica, arial, verdana, sans-serif; font-size: 0.8em; } /* a search result's properties */ div.search-props { margin-top: 0.4em; + font-family: helvetica, arial, verdana, sans-serif; font-size: 0.80em; color: #009999; + background-color: transparent } /* swish.cgi */ -span.searchhighlight { +span.searchhighlight { background-color: #ffff99; + color: #000000; /* please triple check this!!!!*/ } +/* indention on checkboxes on search results */ +div.level { + margin-left: 25px; +} + +/*** end of swish-e search stuff ***/ + + /*** misc ***/ /* general border-color for ad-images */ .img-border { - color: #000000; + color: #000000; + border-color: #000000; + background-color: transparent; } /* dark-blue bg-color */ td.blue-bg { background-color: #525d76; + color: #000000; /* please triple check this!!!!*/ } /* light gray/white bg-color for ad-sec */ -td.ad-bg { - background-color: #eeeeee; +td.ad-bg { + background-color: #ffffff; + color: #000000; /* please triple check this!!!!*/ } + /* lines for camel */ td.camel-line-top { background-color: #bfcfe7; + color: #000000; /* please triple check this!!!!*/ } td.camel-line-bottom { background-color: #525d76; + color: #000000; /* please triple check this!!!!*/ } -/* instead of using space.gif */ -.smallbr { - font-family: helvetica, arial, verdana, sans-serif; - font-size: 1px; - line-height: 1px; -} -.hr { - height: 1px; +.hr { + height: 1px; } /*** quotations, mainly for the first page ***/ -span.big-mod { - font-family: helvetica, arial, verdana, sans-serif; - font-size: 2.0em; - font-weight: bold; - text-align: left; - float: left; -} - -/* quotations, mainly for the first page */ div.quotation { font-family: helvetica, arial, verdana, sans-serif; - font-size: 0.8em; - font-style: normal; - font-weight: bold; + font-size: 0.9em; + color: #004080; + background-color: #ffffff; text-align: justify; padding-top: 10px; padding-right: 40px; - padding-bottom: 10px; + padding-bottom: 0px; padding-left: 40px; margin-right: 20px; margin-left: 20px; @@ -423,7 +415,81 @@ div.quote-details { font-family: helvetica, arial, verdana, sans-serif; font-weight: normal; - font-size: 0.9em; - margin-top: 10px; - float: right; + font-size: 0.85em; + color: #004080; + background-color: #ffffff; + text-align: right; + margin-top: 5px; + margin-right: 60px; +} + + + +/* Search box styles */ + +form.search-wrap { + margin: 2px 0px 2px 0px; + font-size: 1px; + font-family: helvetica, arial, verdana, sans-serif; +} + +div.search-box { + padding: 2px 0px 2px 0px; +} + +td.search-box-bg { + padding: 2px 0px 2px 0px; + background-color: #ffffff; + color: #525d76; +} + +.inp-text{ + font-size: 11px; + font-family: helvetica, arial, verdana, sans-serif; + width: 80px; + margin: 0px 0px 2px 0px; +} + +.inp-select{ + font-size: 11px; + font-family: helvetica, arial, verdana, sans-serif; + width: 120px; + margin: 0px 0px 2px 0px; +} + +.inp-submit{ + font-size: 11px; + font-family: helvetica, arial, verdana, sans-serif; +} + + + +/*** notorious space gif feat ***/ +/* +we use the html tag <small> for this feat, hence that tag wont work as normal +we can [probably] use any non block tag we want +*/ + +small.nbr{ + font-family: helvetica, arial, verdana, sans-serif; + font-size: 1px ; + line-height: 1px; + display: run-in ; /* must _not_ be "inline" */ +} + +br.smallbr { + font-family: helvetica, arial, verdana, sans-serif; + font-size: 1px ; + line-height: 1px; + display: run-in ; +} + +/* opera, ns6 display inline if you meet <small class="nbr"> , display must not be #inline" for opera*/ +small[class="nbr"] { + display: block; +} + +/* for internet explorer 5.5 windows nt/2000, others? */ +small { + display: none; } 1.16 +3 -3 modperl-docs/tmpl/custom/html/ad Index: ad =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/ad,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- ad 14 May 2002 05:22:00 -0000 1.15 +++ ad 28 Jun 2002 06:36:57 -0000 1.16 @@ -17,7 +17,7 @@ </tr> <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><small class="nbr"><br class="smallbr"></small></small></td> </tr> <tr> @@ -35,7 +35,7 @@ </tr> <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> <tr> @@ -53,6 +53,6 @@ </tr> <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> [% END %] 1.11 +2 -10 modperl-docs/tmpl/custom/html/download_link Index: download_link =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/download_link,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- download_link 27 Apr 2002 05:28:43 -0000 1.10 +++ download_link 28 Jun 2002 06:36:57 -0000 1.11 @@ -2,7 +2,6 @@ <br> [% RETURN %] [% END %] - [%- # link to the pdf, source and other variants of the doc links = []; @@ -21,17 +20,10 @@ IF links.join; - links.join(' | '); + links.join(''); ELSE; "<br>"; END; -%] - -[%- BLOCK src_doc -%] -<a class="pdfsrc" href="[%- doc.src_doc.link -%]">src</a> -[%- END -%] - -[%- BLOCK pdf_doc -%] -<a class="pdfsrc" href="[%- doc.pdf_doc.link -%]">pdf</a> -[%- END -%] +[%- BLOCK src_doc -%]<a href="[%- doc.src_doc.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_src.gif" height="15" width="40" border="0" alt=""></a>[%- END -%][%- BLOCK pdf_doc -%]<a href="[%- doc.pdf_doc.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_pdf.gif" height="15" width="40" border="0" alt=""></a>[%- END -%] 1.11 +13 -2 modperl-docs/tmpl/custom/html/head Index: head =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/head,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- head 14 Apr 2002 06:08:28 -0000 1.10 +++ head 28 Jun 2002 06:36:57 -0000 1.11 @@ -7,10 +7,21 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> - <title>mod_perl: [%- doc.meta.title -%]</title> + <style type="text/css"> + body { + background-color: #ffffff; + background-image: url([% doc.dir.abs_doc_root %]/images/bgline.gif); + background-attachment: fixed; /* needed for mac/ie5*/ + color: #000000; + font-family: helvetica, arial, verdana, sans-serif; + font-size: 1.0em; + position: relative !important; /* needed for ie5*/ + } + </style> + <title>mod_perl: [%- doc.meta.title -%]</title> <link rel="shortcut icon" href="[% doc.dir.abs_doc_root %]/images/favicon.ico" type="image/x-icon"> [%- INCLUDE headers -%] </head> -<body background="[% doc.dir.abs_doc_root %]/images/bgline.gif" bgcolor="#ffffff"> +<body class="body-margins"> <a name="top"></a> 1.22 +18 -12 modperl-docs/tmpl/custom/html/index Index: index =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- index 13 Apr 2002 14:39:45 -0000 1.21 +++ index 28 Jun 2002 06:36:57 -0000 1.22 @@ -11,15 +11,17 @@ <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> - [%- INCLUDE logo -%] - [%- INCLUDE navbar_global - nav=doc.nav - -%] + [%- INCLUDE logo; + + INCLUDE navbar_global + nav=doc.nav; + + INCLUDE navbar_local_top + nav=doc.nav.up + rel_doc_root=doc.dir.rel_doc_root; - <!-- camel begin --> - <td align="right"><img src="[%- doc.dir.abs_doc_root -%]/images/logo/logo_blend_camel.gif" border="0" alt="mod_perl icon" width="40" height="49"></td> - <!-- camel end --> - </tr> + INCLUDE title; + -%] </table> </div> <!-- logobox end --> @@ -38,13 +40,17 @@ <div class="rightbox"> [%- INCLUDE index_body -%] - <br> - <hr noshade size="1"> +</div> +<!-- right box end --> + +[%- + INCLUDE navbar_local_bottom + nav=doc.nav.up + rel_doc_root=doc.dir.rel_doc_root; +-%] [%- INCLUDE tail -%] -</div> -<!-- right box end --> </body> </html> 1.17 +0 -15 modperl-docs/tmpl/custom/html/index_body Index: index_body =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index_body,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- index_body 24 Apr 2002 04:15:27 -0000 1.16 +++ index_body 28 Jun 2002 06:36:57 -0000 1.17 @@ -1,12 +1,3 @@ -[%- - INCLUDE navbar_local_top - nav=doc.nav.up - rel_doc_root=doc.dir.rel_doc_root; - - INCLUDE title; --%] - - <!-- content begin --> [%- @@ -27,11 +18,5 @@ -%] <br> -[%- - INCLUDE navbar_local_bottom - nav=doc.nav.up - rel_doc_root=doc.dir.rel_doc_root; - --%] <!-- content end --> 1.8 +2 -2 modperl-docs/tmpl/custom/html/index_toc_section Index: index_toc_section =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index_toc_section,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- index_toc_section 14 May 2002 10:17:29 -0000 1.7 +++ index_toc_section 28 Jun 2002 06:36:57 -0000 1.8 @@ -6,8 +6,8 @@ [%- FOREACH sec = subs -%] - <dl> - <dt><a href="[%- sec.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/arrow_right.gif" alt="-" align="bottom" border="0" height="10" width="18">[%- sec.title -%]</a></dt> + <dl class="toc"> + <dt><a href="[%- sec.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/arrow_right.gif" alt="-" align="bottom" border="0" height="10" width="18">[%- sec.title -%]</a></dt> [%- IF sec.abstract -%] <dd>[%- sec.abstract -%]</dd> 1.7 +1 -3 modperl-docs/tmpl/custom/html/logo Index: logo =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/logo,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- logo 3 Apr 2002 05:18:27 -0000 1.6 +++ logo 28 Jun 2002 06:36:57 -0000 1.7 @@ -1,3 +1 @@ - <td> - <a href="http://perl.apache.org/"><img src="[% doc.dir.abs_doc_root %]/images/logo/logo_blend.gif" border="0" alt="mod_perl icon" width="195" height="52"></a> - </td> \ No newline at end of file + <td rowspan="12"><a href="http://perl.apache.org/"><img src="[% doc.dir.abs_doc_root %]/images/logo/logo_blend.gif" border="0" alt="mod_perl logo" width="195" height="52"></a></td> 1.10 +1 -1 modperl-docs/tmpl/custom/html/menu_links Index: menu_links =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/menu_links,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- menu_links 16 Jun 2002 16:13:35 -0000 1.9 +++ menu_links 28 Jun 2002 06:36:57 -0000 1.10 @@ -30,6 +30,6 @@ [%- END -%] <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> [%- END -%] 1.8 +1 -2 modperl-docs/tmpl/custom/html/menu_main Index: menu_main =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/menu_main,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- menu_main 14 May 2002 05:15:41 -0000 1.7 +++ menu_main 28 Jun 2002 06:36:57 -0000 1.8 @@ -6,7 +6,6 @@ # collect the top level data # first go up to the absolute root l = nav; # remember last valid node - p = nav.up; WHILE p; l = p; @@ -45,7 +44,7 @@ -%] [%- WRAPPER wrap_box - title = '<a href="http://perl.apache.org/">perl.apache.org</a>' + title = '<a href="http://perl.apache.org/">perl.apache.org</a>'; -%] [%- FOREACH but = buttons -%] 1.12 +50 -40 modperl-docs/tmpl/custom/html/navbar_global Index: navbar_global =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_global,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- navbar_global 8 Apr 2002 10:52:55 -0000 1.11 +++ navbar_global 28 Jun 2002 06:36:57 -0000 1.12 @@ -25,6 +25,8 @@ IF rel_doc_root.defined; path.push(rel_doc_root); END; + + nav_not_empty = 1; link = path.join("/"); sects.push({link => "$link/index.html", text => p.index_node.stitle}); @@ -38,44 +40,52 @@ -%] - <!-- breadcrumb and topline begin --> - <td width="100%" align="left"> - <table border="0" cellspacing="0" cellpadding="0" width="100%"> - <tr valign="bottom"> - <td class="navbarglobal" height="31" width="100%"> - <!-- breadcrumb start --> - [%- IF nav_not_empty == 1 -%] - [%- WRAPPER button - width = "100%" - align = 'left' - -%] - [%- FOREACH sec = sects -%] - - <a href="[%- sec.link -%]"><b>[%- sec.text -%]</b></a> / - [%- END -%] - [%- END -%] - [%- ELSE -%] - <br> - [%- END -%] - - <!-- breadcrumb end --> - </td> - </tr> - <tr valign="top"> - <td height="6"><br class="smallbr"></td> - </tr> - <!-- topline begin --> - <tr valign="top"> - <td height="1" class="camel-line-top"><br class="smallbr"></td> - </tr> - <tr valign="top"> - <td height="1" class="camel-line-bottom"><br class="smallbr"></td> - </tr> - <!-- topline end --> - <tr valign="top"> - <td height="6"><br class="smallbr"></td> - </tr> - </table> - </td> - <!-- breadcrumb and topline end --> + <!-- breadcrumb and topline begin --> + + <!-- this silly width is needed for ns4 due to its default paddings in divs, notably rightbox-div --> + <td width="1"><small class="nbr"><br class="smallbr"></small></td> + + <td class="navbarglobal" height="31" width="100%" valign="bottom"> + <!-- breadcrumb start --> +[%- IF nav_not_empty == 1 -%] + [%- WRAPPER button + width = "100%" + align = 'left' + -%] + [%- FOREACH sec = sects -%] + + <a href="[%- sec.link -%]"><b>[%- sec.text -%]</b></a> / + [%- END -%] + [%- END -%] +[%- ELSE -%] + <br> +[%- END -%] + + <!-- breadcrumb end --> + </td> + <!-- camel begin --> + <td rowspan="2" align="right" valign="bottom"><a href="http://www.perl.com"><img src="[%- doc.dir.abs_doc_root -%]/images/logo/blue_sm_camel.gif" border="0" alt="perl icon" width="27" height="37"></a></td> + <td rowspan="2" width="1"><small class="nbr"><br class="smallbr"></small></td> + <!-- camel end --> + </tr> + <tr valign="top"> + <td colspan="2" height="6"><small class="nbr"><br class="smallbr"></small></td> + </tr> + + <!-- topline begin --> + <tr valign="top"> + <td colspan="3" height="1" class="camel-line-top"><small class="nbr"><br class="smallbr"></small></td> + <td><small class="nbr"><br class="smallbr"></small></td> + </tr> + <tr valign="top"> + <td colspan="3" height="1" class="camel-line-bottom"><small class="nbr"><br class="smallbr"></small></td> + <td><small class="nbr"><br class="smallbr"></small></td> + </tr> + <!-- topline end --> + + <tr valign="top"> + <td height="3" colspan="4"><small class="nbr"><br class="smallbr"></small></td> + </tr> + + [%- END -%] 1.7 +15 -4 modperl-docs/tmpl/custom/html/navbar_local_bottom Index: navbar_local_bottom =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local_bottom,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- navbar_local_bottom 8 Apr 2002 10:52:55 -0000 1.6 +++ navbar_local_bottom 28 Jun 2002 06:36:57 -0000 1.7 @@ -3,9 +3,20 @@ # nav - cache navigator object # rel_doc_root - relative docs path -%] - <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr> - <td align="left" width="50%" nowrap>[%- INCLUDE top_link -%]</td> - <td align="right" width="50%" nowrap>[%- INCLUDE prev_next_link -%]</td> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <!-- this height must be 1px more than the highest gif ns6/mac --> + <td width="195" nowrap height="17"> + <table width="195" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td><small class="nbr"><br class="smallbr"></small></td> + </tr> + </table> + </td> + <td width="1"><br></td> + <td align="left" nowrap>[%- INCLUDE top_link -%]</td> + <td width="100%"><br></td> + <td align="right" nowrap>[%- INCLUDE prev_next_link -%]</td> + <td width="1"><br></td> </tr> </table> 1.17 +7 -12 modperl-docs/tmpl/custom/html/navbar_local_top Index: navbar_local_top =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local_top,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- navbar_local_top 24 Apr 2002 04:15:27 -0000 1.16 +++ navbar_local_top 28 Jun 2002 06:36:57 -0000 1.17 @@ -3,16 +3,11 @@ # nav - cache navigator object # rel_doc_root - relative docs path -%] - - <!-- download and local navigation begin --> - <table width="100%" border="0" cellspacing="0" cellpadding="0"> - <tr valign="middle"> - [% IF 0 %]<td align="left" valign="top" nowrap>[%- INCLUDE search_field -%]</td>[% END %] - [% IF 0 %]<td align="left" valign="top" nowrap>[%- INCLUDE download_link -%]</td>[% END %] - <td align="right" valign="top" nowrap>[%- INCLUDE prev_next_link -%]</td> + <!-- local navigation begin --> + <tr valign="top"> + <!-- this particular first cell is here due to a strange bug in IE5 for mac --> + <td><small class="nbr"><br class="smallbr"></small></td> + <td colspan="2" align="right" valign="top" height="16" nowrap>[%- INCLUDE prev_next_link -%]</td> + <td width="1"><small class="nbr"><br class="smallbr"></small></td> </tr> - <tr> - <td colspan="1" height="6"><br class="smallbr"></td> - </tr> - </table> - <!-- download and local navigation end --> + <!-- local navigation end --> 1.23 +17 -12 modperl-docs/tmpl/custom/html/page Index: page =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- page 13 Apr 2002 14:39:45 -0000 1.22 +++ page 28 Jun 2002 06:36:57 -0000 1.23 @@ -11,16 +11,18 @@ <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr valign="top"> - [%- INCLUDE logo -%] - [%- INCLUDE navbar_global + [%- INCLUDE logo; + + INCLUDE navbar_global + nav=doc.nav + rel_doc_root=doc.dir.rel_doc_root; + + INCLUDE navbar_local_top nav=doc.nav rel_doc_root=doc.dir.rel_doc_root; - -%] - <!-- camel begin --> - <td align="right"><img src="[%- doc.dir.abs_doc_root -%]/images/logo/logo_blend_camel.gif" border="0" alt="mod_perl icon" width="40" height="49"></td> - <!-- camel end --> - </tr> + INCLUDE title; + -%] </table> </div> <!-- logobox end --> @@ -38,15 +40,18 @@ <!-- right box begin--> <div class="rightbox"> - [%- INCLUDE page_body -%] - <br> - <hr noshade size="1"> - - [%- INCLUDE tail -%] + [%- INCLUDE page_body -%] </div> <!-- right box end --> + +[%- + INCLUDE navbar_local_bottom + nav=doc.nav + rel_doc_root=doc.dir.rel_doc_root; +%] + [%- INCLUDE tail -%] </body> </html> 1.24 +1 -17 modperl-docs/tmpl/custom/html/page_body Index: page_body =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page_body,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- page_body 24 Apr 2002 04:15:27 -0000 1.23 +++ page_body 28 Jun 2002 06:36:57 -0000 1.24 @@ -1,16 +1,4 @@ - -[%- - - INCLUDE navbar_local_top - nav=doc.nav - rel_doc_root=doc.dir.rel_doc_root; - - INCLUDE title; - --%] - - <!-- content begin --> [%- INCLUDE page_toc toc=doc.toc; @@ -27,11 +15,7 @@ [%- sec; "<br><br>\n"; - IF loop.count == loop.size; - INCLUDE navbar_local_bottom - nav=doc.nav - rel_doc_root=doc.dir.rel_doc_root; - ELSE; + IF loop.count != loop.size; INCLUDE top_link; END; -%] 1.15 +7 -7 modperl-docs/tmpl/custom/html/prev_next_link Index: prev_next_link =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/prev_next_link,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- prev_next_link 15 Apr 2002 17:52:45 -0000 1.14 +++ prev_next_link 28 Jun 2002 06:36:57 -0000 1.15 @@ -15,20 +15,20 @@ -%] [%- IF prev_link || next_link || (rel_doc_root && rel_doc_root != '.') -%] [%- IF prev_link -%] -<a href="[%- prev_link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_prev.gif" alt="previous page: [% prev.meta.title | html %]" border="0" width="48" height="20"></a> +<a href="[%- prev_link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_prev.gif" alt="previous page: [% prev.meta.title | html %]" border="0" width="48" height="16"></a> [%- ELSE -%] -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noprev.gif" alt="no previous page" border="0" width="48" height="20"> +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noprev.gif" alt="no previous page" border="0" width="48" height="16"> [%- END -%] [%- IF rel_doc_root -%] -<a href="[%- rel_doc_root -%]/index.html"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_parent.gif" alt="page up: [% nav.up.meta.title | html %]" border="0" height="20" width="25"></a> +<a href="[%- rel_doc_root -%]/index.html"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_parent.gif" alt="page up: [% nav.up.meta.title | html %]" border="0" height="16" width="25"></a> [%- ELSE -%] -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noparent.gif" alt="no parent page" border="0" height="20" width="25"> +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noparent.gif" alt="no parent page" border="0" height="16" width="25"> [%- END -%] [%- IF next_link -%] -<a href="[%- next_link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_next.gif" alt="next page: [% next.meta.title | html %]" border="0" width="48" height="20"></a> +<a href="[%- next_link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_next.gif" alt="next page: [% next.meta.title | html %]" border="0" width="48" height="16"></a> [%- ELSE -%] -<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_nonext.gif" alt="no next page" border="0" width="48" height="20"> +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_nonext.gif" alt="no next page" border="0" width="48" height="16"> [%- END -%] [%- ELSE -%] -<img src="[%- doc.dir.abs_doc_root -%]/images/trans_pix.gif" alt="navigation" border="0" width="123" height="20"> +<!-- XXX: <img src="[%- doc.dir.abs_doc_root -%]/images/trans_pix.gif" alt="navigation" border="0" width="123" height="16">--> [%- END -%] 1.24 +15 -33 modperl-docs/tmpl/custom/html/search Index: search =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- search 29 Apr 2002 22:30:09 -0000 1.23 +++ search 28 Jun 2002 06:36:57 -0000 1.24 @@ -18,15 +18,11 @@ END; %] - - - - <table border="0" cellspacing="0" cellpadding="0" width="150" align="center"> <tr> - <td class="menu-border" width="1"><br class="smallbr"></td> - <td class="menu-border" width="148"><br class="smallbr"></td> - <td class="menu-border" width="1"><br class="smallbr"></td> + <td class="menu-border" width="1" height="1"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="148"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="1"><small class="nbr"><br class="smallbr"></small></td> </tr> <tr> @@ -38,45 +34,30 @@ </tr> <tr> - <td class="menu-border" colspan="3"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> <tr> <td class="menu-border"><br></td> - <td class="non-sel-bg" align="center"> - <div class="nonselectedmenuitem"> - <form method="GET" action="[% doc.dir.abs_doc_root %]/search/swish.cgi" enctype="application/x-www-form-urlencoded" name="site_search_form"> - [% PROCESS search_widget %] - </form> - </div> + <td class="search-box-bg" align="center"> + <form class="search-wrap" method="GET" action="[% doc.dir.abs_doc_root %]/search/swish.cgi" enctype="application/x-www-form-urlencoded" name="site_search_form"> + [% PROCESS search_widget %] + </form> </td> <td class="menu-border"><br></td> </tr> <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> </table> - [% BLOCK search_widget %] - <table border="0" cellspacing="0" cellpadding="1"> - - <tr> - <td align="center" nowrap="nowrap">[% search_input %] - </tr> - - <tr> - <td align="center">[% search_options %]</td> - </tr> - - <tr> - <td align="center"> - <input type="submit" name="submit" value="search"> - </td> - </tr> - </table> + [% search_input %] + [% search_options %] + <br> + <input type="submit" name="submit" value="search" class="inp-submit"> [% END %] [% BLOCK build_results_search_widgets %] @@ -121,7 +102,7 @@ [% BLOCK build_std_search_widgets %] [% search_input = BLOCK %] - <input type="text" name="query" size="12" maxlength="200" value=""> + <input type="text" name="query" size="12" maxlength="200" value="" class="inp-text"> [% END %] [% search_options = BLOCK %] @@ -131,6 +112,7 @@ Values => search_areas, Labels => search_labels, Default => doc.dir.path_from_base, + Class => 'inp-select', }) %] [% END %] 1.8 +1 -1 modperl-docs/tmpl/custom/html/short_cuts Index: short_cuts =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/short_cuts,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- short_cuts 18 Jun 2002 03:48:55 -0000 1.7 +++ short_cuts 28 Jun 2002 06:36:57 -0000 1.8 @@ -30,6 +30,6 @@ [%- END -%] <tr> - <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> [%- END -%] 1.6 +12 -7 modperl-docs/tmpl/custom/html/sitemap Index: sitemap =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/sitemap,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- sitemap 30 Apr 2002 05:42:56 -0000 1.5 +++ sitemap 28 Jun 2002 06:36:57 -0000 1.6 @@ -12,15 +12,21 @@ <tr valign="top"> [%- INCLUDE logo -%] + [%- INCLUDE navbar_global nav=doc.nav rel_doc_root=doc.dir.rel_doc_root; -%] - <!-- camel begin --> - <td align="right"><img src="[%- doc.dir.abs_doc_root -%]/images/logo/logo_blend_camel.gif" border="0" alt="mod_perl icon" width="40" height="49"></td> - <!-- camel end --> - </tr> + [%- + INCLUDE navbar_local_top + nav=doc.nav.up + rel_doc_root=doc.dir.rel_doc_root; + + INCLUDE title; + -%] + + </table> </div> <!-- logobox end --> @@ -39,13 +45,12 @@ <div class="rightbox"> [%- INCLUDE sitemap_body -%] - <br> - <hr noshade size="1"> - [%- INCLUDE tail -%] </div> <!-- right box end --> + + [%- INCLUDE tail -%] </body> </html> 1.3 +0 -8 modperl-docs/tmpl/custom/html/sitemap_body Index: sitemap_body =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/sitemap_body,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- sitemap_body 11 Jun 2002 07:09:37 -0000 1.2 +++ sitemap_body 28 Jun 2002 06:36:57 -0000 1.3 @@ -3,14 +3,6 @@ # nav - cache navigator object # rel_doc_root - relative docs path (only for chapters!) -%] -[%- - INCLUDE navbar_local_top - nav=doc.nav.up - rel_doc_root=doc.dir.rel_doc_root; - - INCLUDE title; --%] - <!-- content begin --> 1.14 +11 -11 modperl-docs/tmpl/custom/html/tail Index: tail =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/tail,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- tail 18 Apr 2002 10:18:53 -0000 1.13 +++ tail 28 Jun 2002 06:36:57 -0000 1.14 @@ -1,13 +1,13 @@ - <!-- footer (tail )--> - <div class="tail"> - <center> - <p>Last modified [% doc.last_modified %]</p> - <p class="copyright">Use of the Camel for Perl is a trademark - of <a href="http://www.ora.com">O'Reilly & Associates</a>, - and is used by permission.</p> - </center> - </div> - <!-- end footer (tail)--> + <div class="footer"> + <hr noshade size="1"> + <!-- footer (tail )--> + <p class="modified">Last modified [% doc.last_modified %]</p> + <p class="copyright">Use of the Camel for Perl is a trademark + of <a href="http://www.ora.com">O'Reilly & Associates</a>, + and is used by permission.</p> + <!-- end footer (tail)--> + <br><br> + </div> + - <br><br> 1.10 +26 -10 modperl-docs/tmpl/custom/html/title Index: title =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/title,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- title 24 Apr 2002 04:15:27 -0000 1.9 +++ title 28 Jun 2002 06:36:57 -0000 1.10 @@ -1,22 +1,38 @@ [%- IF doc.meta.title.defined -%] - <!-- title begin --> - <table border="0" width="100%" cellspacing="0" cellpadding="0"> + <!-- some space --> <tr> - <td colspan="2"><br></td> + <td height="20" colspan="4"><br></td> </tr> + <tr> - <td colspan="2" ><div class="headline">[%- doc.meta.title -%]</div></td> + <!-- title begin --> + <td><small class="nbr"><br class="smallbr"></small></td> + <td colspan="2" class="headline" valign="bottom" width="100%">[%- doc.meta.title -%]</td> + <td width="1"><small class="nbr"><br class="smallbr"></small></td> + <!-- title end --> </tr> + + <tr> - <td class="menu-border" width="80%" height="6"><br class="smallbr"></td> - <td class="menu-border" width="20%" align="right"><img src="[%- doc.dir.abs_doc_root -%]/images/titlegrad.gif" alt=""></td> + <td height="2" colspan="4"><small class="nbr"><br class="smallbr"></small></td> </tr> - <tr> - <td colspan="2" align="right">[%- INCLUDE download_link -%]</td> + <td><small class="nbr"><br class="smallbr"></small></td> + <!-- title line begin --> + <td colspan="2" class="blue-bg" height="4"><small class="nbr"><br class="smallbr"></small></td> + <td width="1"><small class="nbr"><br class="smallbr"></small></td> + <!-- title line end --> </tr> + <tr> + <td height="2" colspan="4"><small class="nbr"><br class="smallbr"></small></td> + </tr> + + <tr> + <!-- download begin --> + <td colspan="3" align="right" valign="bottom" nowrap>[%- INCLUDE download_link -%]</td> + <td width="1"><small class="nbr"><br class="smallbr"></small></td> + <!-- download end --> + </tr> - </table> - <!-- title end --> [%- END -%] 1.5 +1 -1 modperl-docs/tmpl/custom/html/top_link Index: top_link =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/top_link,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- top_link 3 Apr 2002 05:18:27 -0000 1.4 +++ top_link 28 Jun 2002 06:36:57 -0000 1.5 @@ -1 +1 @@ -<a href="#top"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_top.gif" width="48" height="20" border="0" alt="TOP"></a> \ No newline at end of file +<a href="#top"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_top.gif" width="48" height="16" border="0" alt="TOP"></a> \ No newline at end of file 1.7 +7 -4 modperl-docs/tmpl/custom/html/wrap_box Index: wrap_box =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/wrap_box,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- wrap_box 3 Apr 2002 05:18:27 -0000 1.6 +++ wrap_box 28 Jun 2002 06:36:57 -0000 1.7 @@ -2,12 +2,14 @@ # wrap_box - create these nice wrap boxes with a header cell # ARGS: title, content -%] + <table border="0" cellspacing="0" cellpadding="0" width="150" align="center"> <tr> - <td class="menu-border" width="1"><br class="smallbr"></td> - <td class="menu-border" width="148"><br class="smallbr"></td> - <td class="menu-border" width="1"><br class="smallbr"></td> + <td class="menu-border" width="1" height="1"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="148"><small class="nbr"><br class="smallbr"></small></td> + <td class="menu-border" width="1"><small class="nbr"><br class="smallbr"></small></td> </tr> + [%- IF title -%] <tr> @@ -19,8 +21,9 @@ </tr> <tr> - <td class="menu-border" colspan="3"><br class="smallbr"></td> + <td class="menu-border" colspan="3" height="1"><small class="nbr"><br class="smallbr"></small></td> </tr> + [%- END -%] [%- content -%] 1.2 +1 -1 modperl-docs/tmpl/custom/ps/index_toc_section Index: index_toc_section =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/ps/index_toc_section,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- index_toc_section 14 May 2002 10:16:47 -0000 1.1 +++ index_toc_section 28 Jun 2002 06:36:58 -0000 1.2 @@ -9,7 +9,7 @@ [%- FOREACH sec = subs -%] [% SET chap_counter = chap_counter + 1%] <dl> - <dt><a href="[%- sec.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/arrow_right.gif" alt="-" align="bottom" border="0" height="10" width="18">[%- chap_counter -%]. [%- sec.title -%]</a></dt> + <dt><a href="[%- sec.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/nav/arrow_right.gif" alt="-" align="bottom" border="0" height="10" width="18">[%- chap_counter -%]. [%- sec.title -%]</a></dt> [%- IF sec.abstract -%] <dd>[%- sec.abstract -%]</dd>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]