Added buttons

Wed, 16 Jul 2014 13:42:14 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 16 Jul 2014 13:42:14 +0200
changeset 112
d82c5499285c
parent 111
bdf3c5278a24
child 113
cf3f906ffe0d

Added buttons

www-thermferm/css/style.css file | annotate | diff | comparison | revisions
www-thermferm/index.php file | annotate | diff | comparison | revisions
www-thermferm/liveview.php file | annotate | diff | comparison | revisions
--- a/www-thermferm/css/style.css	Sun Jul 13 22:13:13 2014 +0200
+++ b/www-thermferm/css/style.css	Wed Jul 16 13:42:14 2014 +0200
@@ -95,7 +95,13 @@
 
 #fermentor_control {
     width: 240px;
-    height: 350px;
+    height: 300px;
     float: right;
 }
 
+#fermentor_edit {
+    width: 240px;
+    height: 50px;
+    float: right;
+}
+
--- a/www-thermferm/index.php	Sun Jul 13 22:13:13 2014 +0200
+++ b/www-thermferm/index.php	Wed Jul 16 13:42:14 2014 +0200
@@ -38,7 +38,7 @@
 $outstr .= '    <div id="logo">'.PHP_EOL;
 $outstr .= '     <img src="images/thermferm_logo.png" width="94" height="80">'.PHP_EOL;
 $outstr .= '    </div>'.PHP_EOL;
-$outstr .= '    <button class="script-status ui-state-error"></button>'.PHP_EOL;
+$outstr .= '    <button class="script-status ui-state-error">Status</button>'.PHP_EOL;
 $outstr .= '    <button id="maintenance" class="ui-state-default">Maintenance panel</button>'.PHP_EOL;
 $outstr .= '   </div> <!-- header -->'.PHP_EOL;
 $outstr .= '   <div id="content">'.PHP_EOL;
--- a/www-thermferm/liveview.php	Sun Jul 13 22:13:13 2014 +0200
+++ b/www-thermferm/liveview.php	Wed Jul 16 13:42:14 2014 +0200
@@ -104,7 +104,10 @@
 	    }
 	}
 	$outstr .= '     </div>'.PHP_EOL;
-    	$outstr .= '    </div>'.PHP_EOL;
+	$outstr .= '     <div id="fermentor_edit">'.PHP_EOL;
+	$outstr .= '      <button id="fermentor_setup" class="ui-state-default">Edit fermentor</button>'.PHP_EOL;
+	$outstr .= '     </div>'.PHP_EOL;
+    	$outstr .= '    </div> <!-- fermentor -->'.PHP_EOL;
     }
 
     return $outstr;

mercurial