243 $outstr .= ' $("#load_sw3_'.$unr.'").html(data.sw3);'.PHP_EOL; |
243 $outstr .= ' $("#load_sw3_'.$unr.'").html(data.sw3);'.PHP_EOL; |
244 if ($mode == "PROFILE") |
244 if ($mode == "PROFILE") |
245 $outstr .= ' $("#prof_state_'.$unr.'").html(data.profile_state);'.PHP_EOL; |
245 $outstr .= ' $("#prof_state_'.$unr.'").html(data.profile_state);'.PHP_EOL; |
246 $outstr .= ' });'.PHP_EOL; |
246 $outstr .= ' });'.PHP_EOL; |
247 $outstr .= ' }, 10000);'.PHP_EOL; |
247 $outstr .= ' }, 10000);'.PHP_EOL; |
|
248 |
|
249 /* |
|
250 * Tooltips |
|
251 */ |
|
252 $outstr .= ' $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; |
|
253 $outstr .= ' $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; |
|
254 $outstr .= ' $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The set low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; |
|
255 $outstr .= ' $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The set high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; |
|
256 |
248 $outstr .= ' });'.PHP_EOL; |
257 $outstr .= ' });'.PHP_EOL; |
249 $outstr .= ' </script>'.PHP_EOL; |
258 $outstr .= ' </script>'.PHP_EOL; |
250 $outstr .= ' <div id="fermentor">'.PHP_EOL; |
259 $outstr .= ' <div id="fermentor">'.PHP_EOL; |
251 $outstr .= ' <div id="fermentor_chart_'.$unit.'" style="width:720px; height:377px; float:left"></div>'.PHP_EOL; |
260 $outstr .= ' <div id="fermentor_chart_'.$unit.'" style="width:720px; height:377px; float:left"></div>'.PHP_EOL; |
252 |
261 |