204 $outstr .= ' </form>'.PHP_EOL; |
204 $outstr .= ' </form>'.PHP_EOL; |
205 $outstr .= ' </div>'.PHP_EOL; |
205 $outstr .= ' </div>'.PHP_EOL; |
206 |
206 |
207 $outstr .= ' <div id="fermentor_powerled">'.PHP_EOL; |
207 $outstr .= ' <div id="fermentor_powerled">'.PHP_EOL; |
208 $outstr .= ' <div class="LEDblue_'.$power_led.'"></div>Pwr'.PHP_EOL; |
208 $outstr .= ' <div class="LEDblue_'.$power_led.'"></div>Pwr'.PHP_EOL; |
209 //$outstr .= ' <img src="images/led_green_'.$power_led.'.png"><br>Pwr'.PHP_EOL; |
|
210 $outstr .= ' </div>'.PHP_EOL; |
209 $outstr .= ' </div>'.PHP_EOL; |
211 |
210 |
212 $outstr .= ' <div id="fermentor_mode_control">'.PHP_EOL; |
211 $outstr .= ' <div id="fermentor_mode_control">'.PHP_EOL; |
213 if ($mode == "FRIDGE") { |
212 if ($mode == "FRIDGE") { |
214 $outstr .= ' <form id="set_fridge_'.$unr.'" action="index.php" method="post">'.PHP_EOL; |
213 $outstr .= ' <form id="set_fridge_'.$unr.'" action="index.php" method="post">'.PHP_EOL; |
249 } |
248 } |
250 $i++; |
249 $i++; |
251 } |
250 } |
252 } |
251 } |
253 } |
252 } |
254 $outstr .= ' <div style="color: blue; width: 148px; height: 20px; overflow: hidden;">Profile: '.$prof_name.'</div>'.PHP_EOL; |
253 $outstr .= ' <div style="color: blue; width: 148px; height: 23px; overflow: hidden;">Profile: '.$prof_name.'</div>'.PHP_EOL; |
|
254 $outstr .= ' <div style="color: blue; width: 148px; height: 23px; overflow: hidden;">State: '.$prof_state.'</div>'.PHP_EOL; |
255 |
255 |
256 $outstr .= ' <form id="set_profile_'.$unr.'" action="index.php" method="post">'.PHP_EOL; |
256 $outstr .= ' <form id="set_profile_'.$unr.'" action="index.php" method="post">'.PHP_EOL; |
257 if ($prof_state == "OFF") { |
257 if ($prof_state == "OFF") { |
258 $outstr .= ' <select name="SetProfile" style="width: 130px;">'.PHP_EOL; |
258 $outstr .= ' <select name="SetProfile" style="width: 130px;">'.PHP_EOL; |
259 $outstr .= ' <option value="">None</option>'.PHP_EOL; |
259 $outstr .= ' <option value="">None</option>'.PHP_EOL; |