www-thermferm/liveview.php

changeset 404
6205c7931659
parent 403
230a9a169adb
child 517
5fd12d9f3f84
equal deleted inserted replaced
403:230a9a169adb 404:6205c7931659
247 $outstr .= ' }, 10000);'.PHP_EOL; 247 $outstr .= ' }, 10000);'.PHP_EOL;
248 248
249 /* 249 /*
250 * Tooltips 250 * Tooltips
251 */ 251 */
252 $outstr .= ' $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 252 $outstr .= ' $("#load_air_'.$unr.'").jqxTooltip({ content: "The measured air temperature.", theme: "'.$my_style.'" });'.PHP_EOL;
253 $outstr .= ' $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 253 $outstr .= ' $("#load_beer_'.$unr.'").jqxTooltip({ content: "The measured beer temperature.", theme: "'.$my_style.'" });'.PHP_EOL;
254 $outstr .= ' $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 254 $outstr .= ' $("#load_target_lo_'.$unr.'").jqxTooltip({ content: "The target low temperature.", theme: "'.$my_style.'" });'.PHP_EOL;
255 $outstr .= ' $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 255 $outstr .= ' $("#load_target_hi_'.$unr.'").jqxTooltip({ content: "The target high temperature.", theme: "'.$my_style.'" });'.PHP_EOL;
256 $outstr .= ' $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 256 $outstr .= ' $("#load_select_'.$unr.'").jqxTooltip({ content: "Select unit mode.", theme: "'.$my_style.'" });'.PHP_EOL;
257 if (($mode == "NONE") && ($cooler == "yes")) 257 if (($mode == "NONE") && ($cooler == "yes"))
258 $outstr .= ' $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 258 $outstr .= ' $("#load_sw1_'.$unr.'").jqxTooltip({ content: "Manual control cooler.", theme: "'.$my_style.'" });'.PHP_EOL;
259 if (($mode == "NONE") && ($heater == "yes")) 259 if (($mode == "NONE") && ($heater == "yes"))
260 $outstr .= ' $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 260 $outstr .= ' $("#load_sw2_'.$unr.'").jqxTooltip({ content: "Manual control heater.", theme: "'.$my_style.'" });'.PHP_EOL;
261 if (($mode == "NONE") && ($fan== "yes")) 261 if (($mode == "NONE") && ($fan== "yes"))
262 $outstr .= ' $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", position: "mouse", name: "boxTooltip"});'.PHP_EOL; 262 $outstr .= ' $("#load_sw3_'.$unr.'").jqxTooltip({ content: "Manual control fan.", theme: "'.$my_style.'" });'.PHP_EOL;
263 $outstr .= ' $("#print_'.$unr.'").jqxTooltip({ content: "Print the current graph.", theme: "'.$my_style.'" });'.PHP_EOL;
264 $outstr .= ' $("#pngButton_'.$unr.'").jqxTooltip({ content: "Save the current graph as png image.", theme: "'.$my_style.'" });'.PHP_EOL;
265 $outstr .= ' $("#pdfButton_'.$unr.'").jqxTooltip({ content: "Save the current graph as PDF file.", theme: "'.$my_style.'" });'.PHP_EOL;
263 266
264 $outstr .= ' });'.PHP_EOL; 267 $outstr .= ' });'.PHP_EOL;
265 $outstr .= ' </script>'.PHP_EOL; 268 $outstr .= ' </script>'.PHP_EOL;
266 $outstr .= ' <div id="fermentor">'.PHP_EOL; 269 $outstr .= ' <div id="fermentor">'.PHP_EOL;
267 $outstr .= ' <div id="fermentor_chart_'.$unit.'" style="width:720px; height:377px; float:left"></div>'.PHP_EOL; 270 $outstr .= ' <div id="fermentor_chart_'.$unit.'" style="width:720px; height:377px; float:left"></div>'.PHP_EOL;

mercurial