[GRASS-SVN] r39237 - grass/branches/develbranch_6/tools

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


Author: hamish
Date: 2009-09-17 21:50:38 -0400 (Thu, 17 Sep 2009)
New Revision: 39237

Modified:
   grass/branches/develbranch_6/tools/build_html_index.sh
Log:
fix html #color bug

Modified: grass/branches/develbranch_6/tools/build_html_index.sh
===================================================================
--- grass/branches/develbranch_6/tools/build_html_index.sh	2009-09-18 01:46:04 UTC (rev 39236)
+++ grass/branches/develbranch_6/tools/build_html_index.sh	2009-09-18 01:50:38 UTC (rev 39237)
@@ -102,37 +102,38 @@
 
 write_html_cmd_overview()
 {
+BOXCOLOR="#e1ecd0"
 echo "
 <!-- the files grass6.html & helptext.html file live in lib/init/ -->
 <table border=\"0\" cellspacing=\"8\" align=\"center\">
   <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>
         <li><a href=\"raster.html\">Raster commands manual</a></li>
         <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>
         <li><a href=\"vector.html\">Vector commands manual</a></li>
        </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=\"gis.m.html\">gis.m</a> and <a href=d.m.html>d.m</a> TCL/TK-based GUI frontend</li>
         <li><a href=\"wxGUI.html\">wxGUI</a> wxPython-based GUI frontend</li>
@@ -147,7 +148,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>
        <li><a href=\"sql.html\">SQL support in GRASS GIS</a></li>
@@ -155,11 +156,11 @@
        </ul></td>
     </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>
         <li><a href=\"gem/index.html\">The GRASS Extensions Manager (GEM)</a></li>
@@ -167,12 +168,12 @@
        </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