www-thermferm/liveview.php

changeset 400
d36f4fefd4e2
parent 397
00ca08f5a6f8
child 403
230a9a169adb
--- a/www-thermferm/liveview.php	Thu Sep 17 13:15:23 2015 +0200
+++ b/www-thermferm/liveview.php	Thu Sep 17 15:52:46 2015 +0200
@@ -245,6 +245,15 @@
 	    $outstr .= '           $("#prof_state_'.$unr.'").html(data.profile_state);'.PHP_EOL;
         $outstr .= '         });'.PHP_EOL;
 	$outstr .= '       }, 10000);'.PHP_EOL;
+
+	/*
+	 * Tooltips
+	 */
+	$outstr .= '       $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The set low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+	$outstr .= '       $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The set high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL;
+
 	$outstr .= '     });'.PHP_EOL;
 	$outstr .= '    </script>'.PHP_EOL;
 	$outstr .= '    <div id="fermentor">'.PHP_EOL;

mercurial