You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/04/08 12:52:56 UTC

cvs commit: modperl-docs/tmpl/custom/html head index index_body index_toc_section menu_links menu_main navbar_global navbar_local_bottom navbar_local_top page page_toc_section prev_next_link search

stas        02/04/08 03:52:55

  Modified:    src      style.css
               src/images arrow_right.gif
               src/search search.tt
               tmpl/custom/html head index index_body index_toc_section
                        menu_links menu_main navbar_global
                        navbar_local_bottom navbar_local_top page
                        page_toc_section prev_next_link search
  Log:
  * head
  - added newline before </head> (formatting reasons)
  - "normalized "code" sepeartors to [%- and -%] (consistency reasons)
  
  * index
  - added newline before comment (formatting reasons)
  - removed align="center" in the table (not needed for a 100% table)
  
  * index_body
  - added newline after doc.body.top (formatting reasons)
  - added newline after doc.meta.abstract (formatting reasons)
  - added newline after doc.body.bot (formatting reasons)
  - added newline after <br> (formatting reasons)
  
  * index_toc_section
  - added new attributes for image arrow_right.gif (ESSENTIAL)
  
  * menu_links
  - added newline before the very last table-row (formatting reasons)
  
  * menu_main
  - added newline before the very last table-row (formatting reasons)
  
  * navbar_global
  - used classes instead of bgcolors fpr the "topline" for the camel
  (ESSENTIAL)
  
  * navbar_local_bottom
  - put the download_link and navigation_link on one line with their cells
  (formatting reasons)
  
  * navbar_local_top
  - put the download_link and navigation_link on one line with their cells
  (formatting reasons)
  
  * page
  - added newline before comment (formatting reasons)
  - removed align="center" in the table (not needed for a 100% table)
  
  * page_toc_section
  - added newline before <ul> (formatting reasons)
  - added newline before <li> (formatting reasons)
  - added newline before </li> (formatting reasons)
  - added newline before </ul> (formatting reasons)
  
  * prev_next_link
  - "normalized "code" sepeartors to [%- and -%] (consistency reasons)
  
  * search
  - increased text-field to 15 chars (userbility reasons)
  - appended "!" to the value of submit button (consistency reasons)
  - choped last newline (formatting reasons)
  
  * style-css
  
   td.sel-bg {}
    - lowercased value
  
   div.headline {}
    - changed background-color to the correct #525d76
  
   div.searchform {}
    - made the rule on one single line as there's only a single property
  
   td.searchheader {}
    - changed background-color to the correct #525d76
  
   td.searchtimes {}
    - changed background-color to the correct #525d76
  
   td.blue-bg {}
    - lowercased value
  
   div.searchprops {}
    - changes "green" color to the more eagle-book green #009999
  
   span.searchhighlight {}
    - made the rule on one single line as there's only a single property
  
   dl, ul {}
    - now also included ol:  dl, ul, ol {}
  
   ++++ added
   - new rules for the camel line:
     td.camel-line-top {}
     td.camel-line-bottom {}
  
   - pre {} font specs as body text (safety precaution)
  
  * search.tt
  - added padding to the result table bar to prevent letters "flushing" with
  the background
  
  Submitted by:   allan
  Reviewed by:	stas
  
  Revision  Changes    Path
  1.43      +18 -13    modperl-docs/src/style.css
  
  Index: style.css
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/style.css,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- style.css	6 Apr 2002 14:42:26 -0000	1.42
  +++ style.css	8 Apr 2002 10:52:54 -0000	1.43
  @@ -28,7 +28,7 @@
   td.non-sel-bg { background-color: #eeeeee; }
   
   /* dark blue bg-color for selected menu-items */
  -td.sel-bg { background-color: #525D76; }
  +td.sel-bg { background-color: #525d76; }
   
   div.nonselectedmenuitem {
       padding: 3px;
  @@ -157,7 +157,7 @@
   }
   
   div.headline {
  -    background-color: #525a76;
  +    background-color: #525d76;
       font-family: verdana, arial, helvetica, sans-serif;
       font-weight: bold;
       color: #ffffff;
  @@ -167,12 +167,10 @@
   }
   
   /* Search Results */
  -div.searchform {
  -    font-size: 1.0em;
  -}
  +div.searchform { font-size: 1.0em; }
   
   td.searchheader {
  -    background-color: #525a73;
  +    background-color: #525d76;
       font-family: verdana, arial, helvetica, sans-serif;
       color: #ffffff;
       font-size: 0.9em;
  @@ -180,7 +178,7 @@
   }
   
   td.searchtimes {
  -    background-color: #525a76;
  +    background-color: #525d76;
       font-family: verdana, arial, helvetica, sans-serif;
       color: #ffffff;
       font-size: 0.7em;
  @@ -220,18 +218,21 @@
   div.searchprops {
       margin-top: 0.4em;
       font-size: 0.80em;
  -    color: green;
  +    color: #009999;
   /*    font-size: 0.6em; */
   }
   
  -span.searchhighlight {
  -    background-color: #ffff99;
  -}
  +span.searchhighlight { background-color: #ffff99; }
   
   code { font-family: courier new, courier, monospace; }
  +pre {
  +    font-family: helvetica, arial, verdana, sans-serif;
  +	font-size: 1.0em;
  +    color: #000000;
  +}
   
   /* lists */
  -dl, ul {
  +dl, ul, ol {
       color: #000000;
       font-size: 1.0em;
       font-family: helvetica, arial, verdana, sans-serif;
  @@ -258,10 +259,14 @@
   .img-border { color: #000000; }
   
   /* dark-blue bg-color */
  -td.blue-bg { background-color: #525D76; }
  +td.blue-bg { background-color: #525d76; }
   
   /* light gray/white bg-color for ad-sec */
   td.ad-bg { background-color: #eeeeee; }
  +
  +/* lines for camel */
  +td.camel-line-top { background-color: #bfcfe7; }
  +td.camel-line-bottom { background-color: #525d76; }
   
   /* instead of using space.gif */
   .smallbr {
  
  
  
  1.2       +3 -1      modperl-docs/src/images/arrow_right.gif
  
  	<<Binary file>>
  
  
  1.10      +1 -3      modperl-docs/src/search/search.tt
  
  Index: search.tt
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/search/search.tt,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- search.tt	6 Apr 2002 19:17:16 -0000	1.9
  +++ search.tt	8 Apr 2002 10:52:54 -0000	1.10
  @@ -85,7 +85,7 @@
   [% BLOCK nav_bar %]
   
       [% search.stopwords_removed %]
  -    <table cellpadding="0" cellspacing="0" border="0" width="100%">
  +    <table cellpadding="1" cellspacing="0" border="0" width="100%">
           <tr>
               <td class="searchheader">
                   &nbsp;Results for <b>[% search.query_simple | html %]</b>
  @@ -153,5 +153,3 @@
       [% END %]
   
   [% END %]
  -
  -
  
  
  
  1.7       +5 -3      modperl-docs/tmpl/custom/html/head
  
  Index: head
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/head,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- head	6 Mar 2002 16:18:46 -0000	1.6
  +++ head	8 Apr 2002 10:52:55 -0000	1.7
  @@ -7,8 +7,10 @@
   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   <html>
       <head>
  -        <title>[% doc.meta.title %]</title>
  -[% INCLUDE headers -%]
  +        <title>[%- doc.meta.title -%]</title>
  +
  +[%- INCLUDE headers -%]
  +
       </head>
   <body background="[% doc.dir.abs_doc_root %]/images/bgline.gif" bgcolor="#ffffff">
  -<a name="top"></a>
  \ No newline at end of file
  +<a name="top"></a>
  
  
  
  1.20      +2 -1      modperl-docs/tmpl/custom/html/index
  
  Index: index
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/index,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- index	6 Apr 2002 09:56:35 -0000	1.19
  +++ index	8 Apr 2002 10:52:55 -0000	1.20
  @@ -3,11 +3,12 @@
       title   = "mod_perl: $paget"
       content = ''
   -%]
  +
   <!-- Swishcommand noindex -->
   
   <!-- logobox begin -->
   <div class="logobox">
  -    <table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
  +    <table border="0" cellspacing="0" cellpadding="0" width="100%">
           <tr valign="top">
   
               [%- INCLUDE logo -%]
  
  
  
  1.14      +4 -3      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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- index_body	3 Apr 2002 05:18:27 -0000	1.13
  +++ index_body	8 Apr 2002 10:52:55 -0000	1.14
  @@ -11,21 +11,22 @@
   
   [%-
       IF doc.body.top;
  -        "${doc.body.top}";
  +        "${doc.body.top}\n";
       END;
   
       IF doc.meta.abstract;
  -        "<p>${doc.meta.abstract}</p>";
  +        "<p>${doc.meta.abstract}</p>\n";
       END;
   
       PROCESS index_toc toc=doc.toc;
   
       IF doc.body.bot;
  -        "${doc.body.bot}";
  +        "${doc.body.bot}\n";
       END;
   
   -%]
       <br>
  +    
   [%-
       INCLUDE navbar_local_bottom
           nav=doc.nav.up
  
  
  
  1.6       +1 -1      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- index_toc_section	3 Apr 2002 05:18:27 -0000	1.5
  +++ index_toc_section	8 Apr 2002 10:52:55 -0000	1.6
  @@ -7,7 +7,7 @@
   [%- FOREACH sec = subs -%]
   
           <dl>
  -            <dt><a href="[%- sec.link -%]"><img src="[%- doc.dir.abs_doc_root -%]/images/arrow_right.gif" alt="-" align="middle" border="0" height="18" width="18">[%- sec.title -%]</a></dt>
  +            <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>
   
   [%- IF sec.abstract -%]
               <dd>[%- sec.abstract -%]</dd>
  
  
  
  1.7       +1 -0      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- menu_links	3 Apr 2002 05:18:27 -0000	1.6
  +++ menu_links	8 Apr 2002 10:52:55 -0000	1.7
  @@ -27,6 +27,7 @@
               <td class="menu-border"><br></td>
           </tr>
   [%- END -%]
  +
           <tr>
               <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td>
           </tr>
  
  
  
  1.5       +1 -0      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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- menu_main	3 Apr 2002 05:18:27 -0000	1.4
  +++ menu_main	8 Apr 2002 10:52:55 -0000	1.5
  @@ -59,6 +59,7 @@
               <td class="menu-border"><br></td>
           </tr>
   [%- END -%]
  +
           <tr>
               <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td>
           </tr>
  
  
  
  1.11      +2 -2      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- navbar_global	3 Apr 2002 05:18:27 -0000	1.10
  +++ navbar_global	8 Apr 2002 10:52:55 -0000	1.11
  @@ -66,10 +66,10 @@
                       </tr>
                       <!-- topline begin -->
                       <tr valign="top">
  -                        <td height="1" bgcolor="#BFCFE7"><br class="smallbr"></td>
  +                        <td height="1" class="camel-line-top"><br class="smallbr"></td>
                       </tr>
                       <tr valign="top">
  -                        <td height="1" bgcolor="#525d76"><br class="smallbr"></td>
  +                        <td height="1" class="camel-line-bottom"><br class="smallbr"></td>
                       </tr>
                       <!-- topline end -->
                       <tr valign="top">
  
  
  
  1.6       +2 -6      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.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- navbar_local_bottom	3 Apr 2002 05:18:27 -0000	1.5
  +++ navbar_local_bottom	8 Apr 2002 10:52:55 -0000	1.6
  @@ -5,11 +5,7 @@
   -%]
       <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>
  +            <td align="left" width="50%" nowrap>[%- INCLUDE top_link -%]</td>
  +            <td align="right" width="50%" nowrap>[%- INCLUDE prev_next_link -%]</td>
           </tr>
       </table>
  
  
  
  1.13      +2 -6      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.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- navbar_local_top	3 Apr 2002 05:18:27 -0000	1.12
  +++ navbar_local_top	8 Apr 2002 10:52:55 -0000	1.13
  @@ -10,12 +10,8 @@
               <td colspan="2" height="6"><br class="smallbr"></td>
           </tr>
           <tr valign="middle">
  -            <td align="left" valign="top" width="50%" nowrap>
  -                [%- INCLUDE download_link -%]
  -            </td>
  -            <td align="right" valign="top" width="50%" nowrap>
  -                [%- INCLUDE prev_next_link -%]
  -            </td>
  +            <td align="left" valign="top" width="50%" nowrap>[%- INCLUDE download_link -%]</td>
  +            <td align="right" valign="top" width="50%" nowrap>[%- INCLUDE prev_next_link -%]</td>
           </tr>
       </table>
       <!-- download and local navigation end -->
  
  
  
  1.21      +2 -1      modperl-docs/tmpl/custom/html/page
  
  Index: page
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- page	3 Apr 2002 05:18:27 -0000	1.20
  +++ page	8 Apr 2002 10:52:55 -0000	1.21
  @@ -3,11 +3,12 @@
       title   = "mod_perl: $paget"
       content = ''
   -%]
  +
   <!-- Swishcommand noindex -->
   
   <!-- logobox begin -->
   <div class="logobox">
  -    <table border="0" cellspacing="0" cellpadding="0" width="100%" align="center">
  +    <table border="0" cellspacing="0" cellpadding="0" width="100%">
           <tr valign="top">
   
               [%- INCLUDE logo -%]
  
  
  
  1.5       +4 -0      modperl-docs/tmpl/custom/html/page_toc_section
  
  Index: page_toc_section
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/page_toc_section,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- page_toc_section	3 Apr 2002 05:18:27 -0000	1.4
  +++ page_toc_section	8 Apr 2002 10:52:55 -0000	1.5
  @@ -3,10 +3,14 @@
      # expected args:
      # subs - an array with keys indentical to 'toc' from above.
   -%]
  +
           <ul>
   [%- FOREACH sec = subs -%]
  +
               <li>
                   <a href="[%- sec.link -%]">[%- sec.title -%]</a>[%- IF sec.abstract -%]<br>[%- sec.abstract -%]<br><br>[%- END -%][%- IF sec.subs -%][%- PROCESS page_toc_section subs=sec.subs -%][%- END -%]
  +                
               </li>
   [%- END -%]
  +
           </ul>
  
  
  
  1.12      +9 -9      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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- prev_next_link	4 Apr 2002 02:00:31 -0000	1.11
  +++ prev_next_link	8 Apr 2002 10:52:55 -0000	1.12
  @@ -13,22 +13,22 @@
          next_link = INCLUDE link prefix=rel_doc_root link=next.meta.link;
      END;
   -%]
  -[% IF prev_link || next_link || (rel_doc_root && rel_doc_root != '.') -%]
  +[%- 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" 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" border="0" width="48" height="20"></a>
       [%- ELSE -%]
  -<img src="[% doc.dir.abs_doc_root %]/images/nav/page_noprev.gif" alt="next page" border="0" width="48" height="20">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noprev.gif" alt="next page" border="0" width="48" height="20">
       [%- 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="up" 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="up" border="0" height="20" width="25"></a>
       [%- ELSE -%]
  -<img src="[% doc.dir.abs_doc_root %]/images/nav/page_noparent.gif" alt="parent page" border="0" height="20" width="25">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_noparent.gif" alt="parent page" border="0" height="20" 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" 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" border="0" width="48" height="20"></a>
       [%- ELSE -%]
  -<img src="[% doc.dir.abs_doc_root %]/images/nav/page_nonext.gif" alt="next page" border="0" width="48" height="20">
  +<img src="[%- doc.dir.abs_doc_root -%]/images/nav/page_nonext.gif" alt="next page" border="0" width="48" height="20">
       [%- END -%]
   [%- ELSE -%]
  -<img src="[% doc.dir.abs_doc_root %]/images/trans_pix.gif" alt="navigation" border="0" width="123" height="20">
  -[%- END -%]
  \ No newline at end of file
  +<img src="[%- doc.dir.abs_doc_root -%]/images/trans_pix.gif" alt="navigation" border="0" width="123" height="20">
  +[%- END -%]
  
  
  
  1.15      +3 -3      modperl-docs/tmpl/custom/html/search
  
  Index: search
  ===================================================================
  RCS file: /home/cvs/modperl-docs/tmpl/custom/html/search,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- search	6 Apr 2002 14:56:11 -0000	1.14
  +++ search	8 Apr 2002 10:52:55 -0000	1.15
  @@ -33,7 +33,7 @@
                               </tr>
                               <tr>
                                   <td colspan="2" align="center">
  -                                    <input type="text" name="query" size="12" maxlength="200" value="">
  +                                    <input type="text" name="query" size="15" maxlength="200" value="">
                                   </td>
                               </tr>
                               <tr>
  @@ -52,7 +52,7 @@
                               </tr>
                               <tr>
                                   <td colspan="2" align="center">
  -                                    <input type="submit" name="submit" value="Search">
  +                                    <input type="submit" name="submit" value="Search!">
                                   </td>
                               </tr>
                               <tr>
  @@ -68,4 +68,4 @@
           <tr>
               <td class="menu-border" colspan="3" height="1"><br class="smallbr"></td>
           </tr>
  -    </table>
  +    </table>
  \ No newline at end of file
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org