18 * |
18 * |
19 * You should have received a copy of the GNU General Public License |
19 * You should have received a copy of the GNU General Public License |
20 * along with ThermFerm; see the file COPYING. If not, write to the Free |
20 * along with ThermFerm; see the file COPYING. If not, write to the Free |
21 * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
21 * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
22 *****************************************************************************/ |
22 *****************************************************************************/ |
23 ?> |
23 |
24 <!DOCTYPE html> |
24 |
25 <html> |
25 $outstr = '<!DOCTYPE html>'.PHP_EOL; |
26 <head> |
26 $outstr .= '<html>'.PHP_EOL; |
27 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
27 $outstr .= ' <head>'.PHP_EOL; |
28 <title>ThermFerm monitor</title> |
28 $outstr .= ' <meta http-equiv="content-type" content="text/html; charset=utf-8" />'.PHP_EOL; |
29 <link type="text/css" href="css/redmond/jquery-ui-1.10.3.custom.css" rel="stylesheet" /> |
29 $outstr .= ' <title>ThermFerm monitor</title>'.PHP_EOL; |
30 <link type="text/css" href="css/style.css" rel="stylesheet"/> |
30 $outstr .= ' <link type="text/css" href="css/style.css" rel="stylesheet" media="all" />'.PHP_EOL; |
31 </head> |
31 $outstr .= ' </head>'.PHP_EOL; |
32 <body> |
32 $outstr .= ' <body class="page">'.PHP_EOL; |
33 <div id="beer-panel" class="ui-widget ui-widget-content ui-corner-all"> <?php include 'beer-panel.php'; ?> </div> |
33 $outstr .= ' <div id="container" class="container_16">'.PHP_EOL; |
34 <?php /* <div id="control-panel" style="display:none"> <!--// hide while loading --> |
34 $outstr .= ' <div id="header">'.PHP_EOL; |
35 <?php |
35 $outstr .= ' <div id="logo">'.PHP_EOL; |
36 include 'control-panel.php'; |
36 $outstr .= ' <img src="thermferm_logo.png" width="94" height="80">'.PHP_EOL; |
37 ?> |
37 $outstr .= ' </div>'.PHP_EOL; |
38 </div> |
38 $outstr .= ' <button class="script-status ui-state-error"></button>'.PHP_EOL; |
39 <div id="maintenance-panel" style="display:none"> <!--// hide while loading --> |
39 $outstr .= ' <button id="maintenance" class="ui-state-default">Maintenance panel</button>'.PHP_EOL; |
40 <?php |
40 $outstr .= ' </div> <!-- header -->'.PHP_EOL; |
41 include 'maintenance-panel.php'; |
41 $outstr .= ' <div id="content">'.PHP_EOL; |
42 ?> |
42 $outstr .= ' Content deel'.PHP_EOL; |
43 </div> */ ?> |
43 $outstr .= ' </div> <!-- content -->'.PHP_EOL; |
44 <!-- Load scripts after the body, so they don't block rendering of the page --> |
44 $outstr .= ' </div> <!-- container -->'.PHP_EOL; |
45 <script type="text/javascript" src="js/jquery-1.9.1.js"></script> |
45 $outstr .= ' </body>'.PHP_EOL; |
46 <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script> |
46 $outstr .= '</html>'.PHP_EOL; |
47 <script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script> |
47 |
48 <!-- <script type="text/javascript" src="http://www.google.com/jsapi"></script> --> |
48 echo $outstr; |
49 <script type="text/javascript" src="js/spin.js"></script> |
49 |
50 <!-- <script type="text/javascript" src="js/dygraph-combined.js"></script> --> |
|
51 <!-- <script type="text/javascript"> |
|
52 // pass parameters to JavaScript |
|
53 window.tempFormat = <?php echo "'$tempFormat'" ?>; |
|
54 window.beerName = <?php echo "\"$beerName\""?>; |
|
55 window.profileName = <?php echo "\"$profileName\""?>; |
|
56 window.dateTimeFormat = <?php echo "\"$dateTimeFormat\""?>; |
|
57 window.dateTimeFormatDisplay = <?php echo "\"$dateTimeFormatDisplay\""?>; |
|
58 </script> --> |
|
59 <script type="text/javascript" src="js/main.js"></script> |
|
60 <!-- <script type="text/javascript" src="js/device-config.js"></script> |
|
61 <script type="text/javascript" src="js/control-panel.js"></script> |
|
62 <script type="text/javascript" src="js/maintenance-panel.js"></script> |
|
63 <script type="text/javascript" src="js/beer-chart.js"></script> |
|
64 <script type="text/javascript" src="js/profile-table.js"></script> --> |
|
65 </body> |
|
66 </html> |
|