Added the 'form' class on table and td elements. This class is intended
[gnucomo.git] / src / web / page.class.php
index b823aee..38ad422 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : page.class.php
 **      SYSTEM NAME    : Gnucomo - Gnu Computer Monitoring
-**      VERSION NUMBER : $Revision: 1.2 $
+**      VERSION NUMBER : $Revision: 1.3 $
 **
 **  DESCRIPTION      : Base class for Gnucomo web interface pages.
 **
 ********************************
 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
 **      CREATION DATE   : Jan 22, 2003
-**      LAST UPDATE     : Feb 03, 2003
+**      LAST UPDATE     : Feb 19, 2003
 **      MODIFICATIONS   : 
 **************************************************************************/
 
 /*****************************
    $Log: page.class.php,v $
-   Revision 1.2  2003-02-13 08:59:52  arjen
+   Revision 1.3  2003-02-19 09:12:27  arjen
+   Added the 'form' class on table and td elements. This class is intended
+   for borderless tables that are used to layout HTML forms.
+
+   Revision 1.2  2003/02/13 08:59:52  arjen
    Use our own error handler for PHP errors and warnings
 
    Revision 1.1  2003/02/05 09:38:42  arjen
@@ -34,7 +38,7 @@
 
 ******************************/
 
-// RCSID = "$Id: page.class.php,v 1.2 2003-02-13 08:59:52 arjen Exp $";
+// RCSID = "$Id: page.class.php,v 1.3 2003-02-19 09:12:27 arjen Exp $";
 
 
 require_once('gnucomo_config.php');
@@ -55,26 +59,27 @@ function login_form()
 ?>
    <div class='login'>
    <h1 align="center">GNU Computer Monitoring</h1>
-   <h4 align="center"><i>Version 0.0.5, Februari 08, 2003</i></h4>
+   <h4 align="center"><i>Version 0.0.5, February 21, 2003</i></h4>
    <p>
       <h2 class='error'><?php echo $last_error?></h2>
    </p>
-   <center><table>
+   <center><table class='form'>
    <tr>
-   <td width='50%'><img src='logo.png' alt='GnoCoMo logo'></td>
-   <td><form name="login" method="POST">
-       <table>
+   <td width='50%' class='form'>
+      <a href='http://gnucomo.org/' target='_top'><img src='logo.png' alt='GnoCoMo logo'></a></td>
+   <td class='form'><form name="login" method="POST">
+       <table class='form'>
        <tr>
-       <td>Username</td>
-       <td><input type="text" name="username"></td>
+       <td class='form'>Username</td>
+       <td class='form'><input type="text" name="username"></td>
        </tr>
        <tr>
-       <td>Password</td>
-       <td><input type="password" name="password"></td>
+       <td class='form'>Password</td>
+       <td class='form'><input type="password" name="password"></td>
        </tr>
        <tr>
-       <td>&nbsp;</td>
-       <td align="right"><input type="submit" value="signin"></td>
+       <td class='form'>&nbsp;</td>
+       <td align="right" class='form'><input type="submit" value="signin"></td>
        </tr>
        </table>
        </form>