# HG changeset patch # User Michiel Broek # Date 1442503903 -7200 # Node ID 230a9a169adb35befd95c4de09a24e8a15e21e83 # Parent 6b9f0c3c7f63cf1153c0cfdeb84bd005dc98d1cb More tooltips diff -r 6b9f0c3c7f63 -r 230a9a169adb www-thermferm/liveview.php --- a/www-thermferm/liveview.php Thu Sep 17 17:09:09 2015 +0200 +++ b/www-thermferm/liveview.php Thu Sep 17 17:31:43 2015 +0200 @@ -251,8 +251,15 @@ */ $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 .= ' $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + $outstr .= ' $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + $outstr .= ' $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + if (($mode == "NONE") && ($cooler == "yes")) + $outstr .= ' $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + if (($mode == "NONE") && ($heater == "yes")) + $outstr .= ' $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; + if (($mode == "NONE") && ($fan== "yes")) + $outstr .= ' $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; $outstr .= ' });'.PHP_EOL; $outstr .= ' '.PHP_EOL;