From: Brian Flowers <git-admn@bsflowers.net>
Date: Thu, 22 Sep 2016 17:19:51 +0000 (-0400)
Subject: Style adjustments to configure
X-Git-Url: http://git.slightlycyberpunk.com%2C%20git.slightlycyberpunk.com/git/?a=commitdiff_plain;h=1886befcbbd0a1a5ed9b808a8c458447c9eca412;p=bdsm-web.git

Style adjustments to configure
---

diff --git a/configure.php b/configure.php
index ef6d0c8..3599af7 100755
--- a/configure.php
+++ b/configure.php
@@ -33,7 +33,12 @@
       top:              0px;
       left:             15%;
       width:            85%;
-      height:		100%;
+      height:		    100%;
+    }
+        
+    .short
+    {
+      width:        3em;    
     }
     </STYLE>
   </HEAD>
@@ -64,7 +69,7 @@ while($host = $result->fetchArray(SQLITE3_ASSOC))
 foreach ($hosts as $host)
 {
     echo "      <tr><th>$host</th>";
-    echo "<td><input type='submit' value='Update $host' /></td></tr>";
+    echo "<td><input type='submit' value='Update host' /></td></tr>";
     $result = $db_handle->query("SELECT DISTINCT attribute FROM MEASUREMENTS WHERE host='$host'");
     $attributes = Array();
     while($attribute = $result->fetchArray(SQLITE3_ASSOC))
@@ -77,9 +82,9 @@ foreach ($hosts as $host)
       echo "        <td>$attribute</td>";
       echo "        <td><input type='text' name='$host-$attribute-name' value='' /></td>";
       echo "        <td><input type='checkbox' name='$host-$attribute-graph' /></td>";
-      echo "        <td><input type='text' name='$host-$attribute-min' value='' />".
-                    "<input type='text' name='$host-$attribute-max' value='' /></td>";
-      echo "        <td><input type='text' name='$host-$attribute-duration' value='' /></td>";
+      echo "        <td><input type='text' name='$host-$attribute-min' value='' class='short'/> - ".
+                    "<input type='text' name='$host-$attribute-max' value='' class='short'/></td>";
+      echo "        <td><input type='text' name='$host-$attribute-duration' value='' class='short' /></td>";
       echo "      </tr>";
     }
 }