# HG changeset patch # User Michiel Broek # Date 1442497966 -7200 # Node ID d36f4fefd4e21ab8f4fcc41d387aa6c5058ebb86 # Parent 2f472a9081c9e9ba98a8faad44ee5edf433179ce Adding tooltips in the liveview screen. diff -r 2f472a9081c9 -r d36f4fefd4e2 www-thermferm/index.php --- a/www-thermferm/index.php Thu Sep 17 13:15:23 2015 +0200 +++ b/www-thermferm/index.php Thu Sep 17 15:52:46 2015 +0200 @@ -157,6 +157,7 @@ $outstr .= ' '.PHP_EOL; $outstr .= ' '.PHP_EOL; $outstr .= ' '.PHP_EOL; +$outstr .= ' '.PHP_EOL; $outstr .= ' '.PHP_EOL; $outstr .= ' '.PHP_EOL; diff -r 2f472a9081c9 -r d36f4fefd4e2 www-thermferm/liveview.php --- 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 .= ' '.PHP_EOL; $outstr .= '
'.PHP_EOL;