Updated web dashboard layout

Wed, 20 Aug 2014 22:15:12 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 20 Aug 2014 22:15:12 +0200
changeset 258
e02393b29733
parent 257
abdba3f9d9e2
child 259
b7c967359771

Updated web dashboard layout

thermferm/server.c file | annotate | diff | comparison | revisions
www-thermferm/css/style.css file | annotate | diff | comparison | revisions
www-thermferm/liveview.php file | annotate | diff | comparison | revisions
--- a/thermferm/server.c	Wed Aug 20 17:42:35 2014 +0200
+++ b/thermferm/server.c	Wed Aug 20 22:15:12 2014 +0200
@@ -655,6 +655,8 @@
  * PROFILE ADD name	Add a new profile
  * PROFILE DEL uuid	Delete profile with uuid
  * PROFILE LIST		List available profiles
+ * PROFILE GET uuid     Get profile record
+ * PROFILE PUT uuid     Put profile record
  * PROFILE GETS uuid	Get profile steps list
  * PROFILE PUTS uuid	Put profile steps list
  */
--- a/www-thermferm/css/style.css	Wed Aug 20 17:42:35 2014 +0200
+++ b/www-thermferm/css/style.css	Wed Aug 20 22:15:12 2014 +0200
@@ -193,7 +193,7 @@
 
 #fermentor_panel_top {
     width: 236px;
-    height: 156px;
+    height: 170px;
     float: right;
     background-color: #eee;
     border: 2px solid;
@@ -204,18 +204,18 @@
 
 #fermentor_selector {
     width: 88px;
-    height: 156px;
+    height: 170px;
     float: left;
 }
 
 input.select {
     margin-left: 10px;
-    margin-top: 10px;
+    margin-top: 13px;
 }
 
 #fermentor_powerled {
     width: 38px;
-    height: 36px;
+    height: 30px;
     float: left;
     text-align: center;
     margin-top: 10px;
@@ -224,7 +224,7 @@
 
 #fermentor_mode_control {
     width: 148px;
-    height: 100px;
+    height: 110px;
     float: left;
     margin-top: 10px;
     background-color: #ddd;
@@ -268,7 +268,7 @@
 
 #fermentor_panel_control {
     width: 236px;
-    height: 136px;
+    height: 120px;
     float: right;
     background-color: #eee;
     border: 2px solid;
@@ -435,6 +435,5 @@
     background-color: #137;
     border-radius: 50%;
     box-shadow: #024 0 0px 1px 1px;
-    /* , inset #006 0 -1px 9px, #06F 0 2px 12px; */
 }
 
--- a/www-thermferm/liveview.php	Wed Aug 20 17:42:35 2014 +0200
+++ b/www-thermferm/liveview.php	Wed Aug 20 22:15:12 2014 +0200
@@ -206,7 +206,6 @@
 
 	$outstr .= '      <div id="fermentor_powerled">'.PHP_EOL;
 	$outstr .= '       <div class="LEDblue_'.$power_led.'"></div>Pwr'.PHP_EOL;
-	//$outstr .= '       <img src="images/led_green_'.$power_led.'.png"><br>Pwr'.PHP_EOL;
 	$outstr .= '      </div>'.PHP_EOL;
 
 	$outstr .= '      <div id="fermentor_mode_control">'.PHP_EOL;
@@ -251,7 +250,8 @@
 		    }
 		}
 	    }
-	    $outstr .= '       <div style="color: blue; width: 148px; height: 20px; overflow: hidden;">Profile: '.$prof_name.'</div>'.PHP_EOL;
+	    $outstr .= '       <div style="color: blue; width: 148px; height: 23px; overflow: hidden;">Profile: '.$prof_name.'</div>'.PHP_EOL;
+	    $outstr .= '       <div style="color: blue; width: 148px; height: 23px; overflow: hidden;">State: '.$prof_state.'</div>'.PHP_EOL;
 
 	    $outstr .= '       <form id="set_profile_'.$unr.'" action="index.php" method="post">'.PHP_EOL;
 	    if ($prof_state == "OFF") {

mercurial