[GRASS-SVN] r39238 - grass/trunk/tools

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 17 21:53:50 EDT 2009


Author: hamish
Date: 2009-09-17 21:53:48 -0400 (Thu, 17 Sep 2009)
New Revision: 39238

Modified:
   grass/trunk/tools/build_html_index.sh
Log:
fix html #color bug (merge from devbr6)

Modified: grass/trunk/tools/build_html_index.sh
===================================================================
--- grass/trunk/tools/build_html_index.sh	2009-09-18 01:50:38 UTC (rev 39237)
+++ grass/trunk/tools/build_html_index.sh	2009-09-18 01:53:48 UTC (rev 39238)
@@ -91,25 +91,26 @@
 
 write_html_cmd_overview()
 {
+BOXCOLOR="#e1ecd0"
 cat <<EOF
 <!-- the files grass7.html & helptext.html file live in lib/init/ -->
 
 <table align="center" border="0" cellspacing="8">
   <tbody>
     <tr>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Quick Introduction</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Quick Introduction</h3>
       <ul>
       <li><a href="grass6.html">GRASS startup manual page</a></li>
       <li><a href="helptext.html">How to start with GRASS</a></li>
       </ul></td>
 
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;General</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;General</h3>
       <ul>
       <li><a href="general.html">General commands manual</a></li>
       </ul></td>
     </tr>
     <tr>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Raster/Image processing</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Raster/Image processing</h3>
 
        <ul>
         <li><a href="rasterintro.html">Intro 2D raster map processing</a></li>
@@ -117,7 +118,7 @@
         <li><a href="raster3dintro.html">Intro 3D raster map (voxel) processing</a></li>
         <li><a href="raster3D.html">Raster3D commands manual</a></li>
       </ul></td>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Vector processing</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Vector processing</h3>
 
        <ul>
         <li><a href="vectorintro.html">Intro vector map processing and network analysis</a></li>
@@ -125,7 +126,7 @@
        </ul></td>
     </tr>
     <tr>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Display/Graphical User Interfaces</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Display/Graphical User Interfaces</h3>
 
        <ul>
         <li><a href="wxGUI.html">wxGUI</a> wxPython-based GUI frontend</li>
@@ -140,7 +141,7 @@
         <li><a href="nviz.html">nviz</a> 3D visualization and animation tool</li>
         <li><a href="xganim.html">xganim</a> tool  for animating a raster map series</li>
        </ul></td>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Database</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Database</h3>
 
        <ul>
        <li><a href="databaseintro.html">Intro database management</a></li>
@@ -150,11 +151,11 @@
     </tr>
     <tr>
 
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Projections</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Projections</h3>
        <ul>
         <li><a href="projectionintro.html">Intro projections and spatial transformations</a></li>
        </ul></td>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Miscellaneous</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Miscellaneous</h3>
        <ul>
         <li><a href="variables.html">GRASS variables and environment variables</a></li>
 
@@ -163,13 +164,13 @@
        </ul></td>
     </tr>
     <tr>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Image processing</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Image processing</h3>
        <ul>
 
         <li><a href="imageryintro.html">Intro image processing</a></li>
         <li><a href="imagery.html">Imagery commands manual</a></li>
       </ul></td>
-      <td valign="top" bgcolor="e1ecd0" class="box"><h3>&nbsp;Printing</h3>
+      <td valign="top" bgcolor="$BOXCOLOR" class="box"><h3>&nbsp;Printing</h3>
        <ul>
         <li><a href="postscript.html">Postscript commands manual</a></li>
        </ul></td>



More information about the grass-commit mailing list