stas 02/01/17 08:02:32 Modified: src style.css tmpl/custom/html navbar_local page_body Added: src/images next.gif prev.gif up.gif Log: convert the prev|up|next titles to use images instead. Submitted by: Thomas Klausner <[EMAIL PROTECTED]> Reviewed by: stas Revision Changes Path 1.8 +1 -9 modperl-docs/src/style.css Index: style.css =================================================================== RCS file: /home/cvs/modperl-docs/src/style.css,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- style.css 16 Jan 2002 05:25:00 -0000 1.7 +++ style.css 17 Jan 2002 16:02:32 -0000 1.8 @@ -9,15 +9,11 @@ padding: 2px; background-color: #828DA6; color: #ffffff; - margin-top: 2px; - margin-bottom: 2px; } h1, h2, h3, h4 { background-color: #dddddd; color: #525D76; - margin-top: 4px; - margin-bottom: 4px; } @@ -139,11 +135,7 @@ } div.navbarlocal { - padding: 2px; - margin-top: 2px; - margin-bottom: 0px; - text-align: center; - font-size: small; + text-align: right; } div.menu { 1.1 modperl-docs/src/images/next.gif <<Binary file>> 1.1 modperl-docs/src/images/prev.gif <<Binary file>> 1.1 modperl-docs/src/images/up.gif <<Binary file>> 1.3 +9 -57 modperl-docs/tmpl/custom/html/navbar_local Index: navbar_local =================================================================== RCS file: /home/cvs/modperl-docs/tmpl/custom/html/navbar_local,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- navbar_local 6 Jan 2002 12:15:17 -0000 1.2 +++ navbar_local 17 Jan 2002 16:02:32 -0000 1.3 @@ -3,69 +3,21 @@ # nav - cache navigator object # rel_doc_root - relative docs path %] +<div class='navbarlocal'> [% prev = nav.prev; - next = nav.next; - buttons = []; IF prev; link = INCLUDE link prefix=rel_doc_root link=prev.meta.link; - left = "<img src='${doc.dir.abs_doc_root}/images/left.gif' ALT='prev' border=0>"; - buttons.push({link => link, - text => "${prev.meta.title}" - prelink => "<td align='right' width='40%'><div class='navbarlocaltext'>", - postlink => "</div></td>", - }); - buttons.push({link => link, - text => "$left" - prelink => "<td align='right' width='3%'>", - postlink => "</td>", - }); - - ELSE; - buttons.push({link => "", - text => " " - prelink => "<td width='43%'>", - postlink => "</td>", - }); - END; - - - buttons.push({link => "$rel_doc_root/index.html", - text => "<img src='${doc.dir.abs_doc_root}/images/up.png' ALT='up' border=0>" - postlink => "</td>", - prelink => "<td align='center' valign='top' width='3%'>", - - }); - - + "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/prev.gif' ALT='prev' border=0 width=48 heigth=20></a>"; + END; +%]<a href='[% rel_doc_root %]/index.html'><img src='[% doc.dir.abs_doc_root %]/images/up.gif' ALT='up' border=0 heigth=20 width=25></a>[% + next = nav.next; IF next; - link = INCLUDE link prefix=rel_doc_root link=next.meta.link; - right="<img src='${doc.dir.abs_doc_root}/images/right.gif' ALT='next' border=0>"; - buttons.push({link => link, - text => "$right" - postlink => "</td>", - prelink => "<td align='left' width='3%'>", - - }); - buttons.push({link => link, - text => "${next.meta.title}" - postlink => "</div></td>", - prelink => "<td align='left' width='40%'><div class='navbarlocaltext'>", - - }); - ELSE; - buttons.push({link => "", - text => " " - prelink => "<td width='43%'>", - postlink => "</td>", - }); - + link = INCLUDE link prefix=rel_doc_root link=next.meta.link; + "<a href='$link'><img src='${doc.dir.abs_doc_root}/images/next.gif' ALT='next' border=0 width=49 heigth=20></a>"; END; %] -<div class='navbarlocal'> -<table border=0 cellspacing=1 cellpadding=0 width=100%> -<tr> -[% INCLUDE splash/domm_menu %] -</tr></table> </div> + + 1.3 +1 -5 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.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- page_body 15 Jan 2002 15:39:27 -0000 1.2 +++ page_body 17 Jan 2002 16:02:32 -0000 1.3 @@ -11,11 +11,7 @@ INCLUDE page_toc toc=doc.toc; - # prepare section sub-menus - buttons = [ - { link => '#top', text => 'TOP'}, - ]; - menu = INCLUDE splash/domm_menu size=-1; + menu="<a href='#top'><img src='${doc.dir.abs_doc_root}/images/top.gif' width=54 heigth=21 border='0' alt='TOP'></a>"; # render the content FOREACH sec = doc.body;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]