[GRASS-SVN] r40868 - in grass-web/trunk: . download images

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 8 10:23:13 EST 2010


Author: neteler
Date: 2010-02-08 10:23:11 -0500 (Mon, 08 Feb 2010)
New Revision: 40868

Added:
   grass-web/trunk/download/software.php
   grass-web/trunk/download/software_auto.inc
   grass-web/trunk/images/arrow_download.gif
Modified:
   grass-web/trunk/download/index.php
   grass-web/trunk/download/software.inc
   grass-web/trunk/sitestyle.css
Log:
prettified

Modified: grass-web/trunk/download/index.php
===================================================================
--- grass-web/trunk/download/index.php	2010-02-08 14:29:15 UTC (rev 40867)
+++ grass-web/trunk/download/index.php	2010-02-08 15:23:11 UTC (rev 40868)
@@ -74,7 +74,7 @@
        
      <h3>Software download section</h3>
      <?php
-       include("software.inc");
+       include("software_auto.inc");
      ?>			 
     <!-- END MAIN PART -->
  
@@ -84,7 +84,7 @@
 </table>
 
 <hr>
-   <div align="right">&copy; 1999-2009 GRASS Development Team<br>
+   <div align="right">&copy; 1999-2010 GRASS Development Team<br>
    <a href="../impressum.html">Imprint</a> |
    <a href="../contact.php">Comments</a> about this page<br>
    </div>

Modified: grass-web/trunk/download/software.inc
===================================================================
--- grass-web/trunk/download/software.inc	2010-02-08 14:29:15 UTC (rev 40867)
+++ grass-web/trunk/download/software.inc	2010-02-08 15:23:11 UTC (rev 40868)
@@ -7,45 +7,16 @@
   <A HREF="#citing">Citing GRASS</A>
 ]
 
-<p>
-<p>
-<center>
-<table bgcolor="#FFCC99" border=1 CELLPADDING=5>
-<tr>
-<td style="vertical-align: top;">
-<big>
-<?php
- $userAgent    = strtolower($_SERVER['HTTP_USER_AGENT']);
- if (strpos($userAgent, 'linux')) {
-        $platform = 'linux';
-        echo "<img src=\"../images/logo_lin.png\" alt=\"GNU/Linux\"> Download latest GRASS 6.4 snapshot for <a href=\"../grass64/binary/linux/snapshot/\">GNU/Linux</a>!";
-    }
-    else if (strpos($userAgent, 'macintosh') || strpos($userAgent, 'mac platform x')) {
-        $platform = 'mac';
-	echo "<img src=\"../images/logo_mac.png\" alt=\"MacOSX\"> Download GRASS 6.4 for <a href=\"../grass64/binary/macosx/\">MacOSX</a>!";
-    }
-    else if (strpos($userAgent, 'windows') || strpos($userAgent, 'win32')) {
-        $platform = 'windows';
-        echo "<img src=\"../images/logo_win.png\" alt=\"MS-Windows\"> Download GRASS 6.4 for <a href=\"../grass64/binary/mswindows/native\">MS-Windows</a>!";
-    }
-?>
-</big>
-</td>
-</tr>
-</table>
-</center>
 
 
 <hr>
-
-Download <a href="data.php">Sample data (Spearfish, North Carolina data sets etc.)</a> to try out this software easily.
-
-<hr>
 <h3>Detailed Software Download</h3>
 <a name="software"></a>
 &bull; Download "<b>Binaries</b>": if you want to install ready-to-use GRASS.<br>
 &bull; Download "<b>Source Code</b>": if you want to develop your own GRASS
  extensions or run GRASS on a special computer platform.<br>
+&bull; Download <a href="data.php">Sample data (Spearfish, North Carolina, etc.)</a>
+ to try out this software easily.<br>
 &bull; <b>First time users should explore the
   <a href="http://grass.bologna.enea.it/tutorial/">first steps tutorial</a>
   after installing</b>.<br> <!-- by Lorenzo Moretti -->

Copied: grass-web/trunk/download/software.php (from rev 40644, grass-web/trunk/download/index.php)
===================================================================
--- grass-web/trunk/download/software.php	                        (rev 0)
+++ grass-web/trunk/download/software.php	2010-02-08 15:23:11 UTC (rev 40868)
@@ -0,0 +1,93 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+  <title>GRASS GIS: Detailed download page</title>
+  <meta name="robots" content="index,follow">
+  <meta name="description"
+        content="GRASS GIS (Geographic Resources
+         Analysis Support System) is an open source, free software
+         Geographical Information System (GIS) with raster, topological
+         vector, image processing, and visualization functionality">
+  <meta name="keywords"
+        content="gis, GIS, GRASS, open source, 
+	 free software, Geographical Information System, raster, topology,
+         vector, image processing, visualization">
+  <meta name="Author" content="MN/GRASS Development Team">
+  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+  <link rel="stylesheet" href="../sitestyle.css" type="text/css">
+</head>
+<body>
+   <!-- TOP LOGO LINE -->  
+<table bgcolor="#ffffff" cellspacing="0" cellpadding="0" border="0" width="650">
+ <tbody>
+ <tr><td>            
+   <table cellspacing="1" cellpadding="0" border="0" width="100%" >
+   <tbody>
+      <tr bgcolor="#ffffff">
+       <td nowrap="nowrap">
+	  <a href="../index.php">
+	    <img src="../images/grasslogo_vector_small.png" alt="GRASS GIS (Geographic Resources Analysis Support System)" hspace="22" border="0">
+	  </a>
+       </td>
+       <td nowrap="nowrap">
+          <table cellspacing="0" cellpadding="1" border="0" width="50%">
+          <tbody>
+            <tr bgcolor="#ffffff">
+              <td nowrap="nowrap">
+               <?php
+                  include("title.inc");
+               ?> 
+              </td>
+            </tr>
+          </tbody>
+          </table>
+       </td>
+      </tr>
+    </tbody>
+    </table>
+   </td>
+  </tr>
+ </tbody> 
+</table>
+
+<table cellspacing="0" cellpadding="1" border="0" width="100%">
+<tbody>
+ <tr>
+    <td valign="top">
+    <?php
+        include("../menu_search.inc");
+     ?> 
+   </td>
+   <td valign="top">
+     <?php
+       include("../menu_top.inc");
+     ?>
+   </td>
+ </tr>
+ <tr>
+  <td valign="top">
+     <?php
+       include("menu_side.inc");
+     ?>
+   </td>
+  <td valign="top" class="leftmenu"> <!-- MAIN PART -->
+       
+     <h3>Software download section</h3>
+     <?php
+       include("software.inc");
+     ?>			 
+    <!-- END MAIN PART -->
+ 
+  </td>
+ </tr>  
+ </tbody> 
+</table>
+
+<hr>
+   <div align="right">&copy; 1999-2010 GRASS Development Team<br>
+   <a href="../impressum.html">Imprint</a> |
+   <a href="../contact.php">Comments</a> about this page<br>
+   </div>
+
+</body>
+</html>

Copied: grass-web/trunk/download/software_auto.inc (from rev 40866, grass-web/trunk/download/software.inc)
===================================================================
--- grass-web/trunk/download/software_auto.inc	                        (rev 0)
+++ grass-web/trunk/download/software_auto.inc	2010-02-08 15:23:11 UTC (rev 40868)
@@ -0,0 +1,82 @@
+<center>
+<table CELLPADDING=8 align="center" border="0">
+<tr>
+<td class="box" style="vertical-align: center;" bgcolor="#FFCC99">
+
+<table align="center" border="0">
+<tr>
+<td style="vertical-align: top;" bgcolor="#FFCC99">
+<big>
+<?php
+ $userAgent    = strtolower($_SERVER['HTTP_USER_AGENT']);
+ if (strpos($userAgent, 'linux')) {
+        $platform = 'linux';
+        echo "<br>&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"../images/logo_lin.png\" alt=\"GNU/Linux\"> Free download of GRASS GIS for <a href=\"../grass64/binary/linux/snapshot/\">GNU/Linux</a>!&nbsp;&nbsp;&nbsp;&nbsp;";
+    }
+    else if (strpos($userAgent, 'macintosh') || strpos($userAgent, 'mac platform x')) {
+        $platform = 'mac';
+	echo "<br>&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"../images/logo_mac.png\" alt=\"MacOSX\"> Free download of GRASS GIS for <a href=\"../grass64/binary/macosx/\">MacOSX</a>!&nbsp;&nbsp;&nbsp;&nbsp;";
+    }
+    else if (strpos($userAgent, 'windows') || strpos($userAgent, 'win32')) {
+        $platform = 'windows';
+        echo "<br>&nbsp;&nbsp;&nbsp;&nbsp;<img src=\"../images/logo_win.png\" alt=\"MS-Windows\"> Free download of GRASS GIS for <a href=\"../grass64/binary/mswindows/native\">MS-Windows</a>!&nbsp;&nbsp;&nbsp;&nbsp;";
+    }
+
+    echo "<p><center><small><a href=\"../grass64/manuals/html64_user/helptext.html\">First steps manual</a> |
+          <a href=\"../download/data.php\">Sample datasets</a> |
+          <a href=\"software.php\">Other operating systems</a></small></center>";
+?>
+<p>
+</big>
+</td>
+<td class="box" style="vertical-align: center;" bgcolor="#FFCC99" border=0>
+<img src="../images/arrow_download.gif" alt="Get me!">
+</td>
+</tr>
+</table>
+</tr>
+</table>
+</center>
+
+<hr>
+<h3>Citing GRASS Software</h3>
+<a name="citing"></a>
+
+Please cite GRASS when using the software in your work. Here are some
+choices depending on the version used:
+
+<ul>
+<li>
+<i>
+GRASS Development Team, 2010. Geographic Resources Analysis Support System (GRASS)
+Software, Version 6.4.0. Open Source Geospatial Foundation. http://grass.osgeo.org
+</i>
+</li>
+<li>
+<i>
+GRASS Development Team, 2009. Geographic Resources Analysis Support System (GRASS)
+Programmer's Manual. Open Source Geospatial Foundation.
+Electronic document: http://download.osgeo.org/grass/grass6_progman/
+</i>
+</li>
+</ul>
+
+
+A BibTeX entry for LaTeX users is
+<div class="code">
+<pre><font size="-1">
+ at Manual{GRASS_GIS_software,
+  title = {Geographic Resources Analysis Support System (GRASS GIS) Software},
+  author = {{GRASS Development Team}},
+  organization = {Open Source Geospatial Foundation},
+  address = {USA},
+  year = {2010},
+  url = {http://grass.osgeo.org},
+}
+</font>
+</pre></div>
+
+<div align="right">
+<i>Last change: $Date$ </i><br>
+<i>$Author$</i>
+</div>

Added: grass-web/trunk/images/arrow_download.gif
===================================================================
(Binary files differ)


Property changes on: grass-web/trunk/images/arrow_download.gif
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: grass-web/trunk/sitestyle.css
===================================================================
--- grass-web/trunk/sitestyle.css	2010-02-08 14:29:15 UTC (rev 40867)
+++ grass-web/trunk/sitestyle.css	2010-02-08 15:23:11 UTC (rev 40868)
@@ -53,3 +53,10 @@
 	padding-left: 10px;
 }
 
+.BOX {
+        border:  1px solid #c9c9c9;
+        margin: 0px 2px 2px 10px;
+        padding: 0px 4px 2px 6px;
+        -moz-border-radius: 6px ;
+}
+



More information about the grass-commit mailing list