Преглед изворни кода

fix html #color bug (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39238 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman пре 16 година
родитељ
комит
afb7a82e1b
1 измењених фајлова са 11 додато и 10 уклоњено
  1. 11 10
      tools/build_html_index.sh

+ 11 - 10
tools/build_html_index.sh

@@ -91,25 +91,26 @@ EOF
 
 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 @@ cat <<EOF
         <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 @@ cat <<EOF
        </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 @@ cat <<EOF
         <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 @@ cat <<EOF
     </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 @@ cat <<EOF
        </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>