--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-thermferm/index.php Tue Jul 08 23:53:04 2014 +0200 @@ -0,0 +1,66 @@ +<?php +/***************************************************************************** + * Copyright (C) 2014 + * + * Michiel Broek <mbroek at mbse dot eu> + * + * This file is part of ThermFerm + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2, or (at your option) any + * later version. + * + * ThermFerm is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with ThermFerm; see the file COPYING. If not, write to the Free + * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + *****************************************************************************/ +?> +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>ThermFerm monitor</title> + <link type="text/css" href="css/redmond/jquery-ui-1.10.3.custom.css" rel="stylesheet" /> + <link type="text/css" href="css/style.css" rel="stylesheet"/> + </head> + <body> + <div id="beer-panel" class="ui-widget ui-widget-content ui-corner-all"> <?php include 'beer-panel.php'; ?> </div> +<?php /* <div id="control-panel" style="display:none"> <!--// hide while loading --> + <?php + include 'control-panel.php'; + ?> + </div> + <div id="maintenance-panel" style="display:none"> <!--// hide while loading --> + <?php + include 'maintenance-panel.php'; + ?> + </div> */ ?> + <!-- Load scripts after the body, so they don't block rendering of the page --> + <script type="text/javascript" src="js/jquery-1.9.1.js"></script> + <script type="text/javascript" src="js/jquery-ui-1.10.3.custom.min.js"></script> + <script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script> + <!-- <script type="text/javascript" src="http://www.google.com/jsapi"></script> --> + <script type="text/javascript" src="js/spin.js"></script> + <!-- <script type="text/javascript" src="js/dygraph-combined.js"></script> --> + <!-- <script type="text/javascript"> + // pass parameters to JavaScript + window.tempFormat = <?php echo "'$tempFormat'" ?>; + window.beerName = <?php echo "\"$beerName\""?>; + window.profileName = <?php echo "\"$profileName\""?>; + window.dateTimeFormat = <?php echo "\"$dateTimeFormat\""?>; + window.dateTimeFormatDisplay = <?php echo "\"$dateTimeFormatDisplay\""?>; + </script> + <script type="text/javascript" src="js/main.js"></script> + <script type="text/javascript" src="js/device-config.js"></script> + <script type="text/javascript" src="js/control-panel.js"></script> + <script type="text/javascript" src="js/maintenance-panel.js"></script> + <script type="text/javascript" src="js/beer-chart.js"></script> + <script type="text/javascript" src="js/profile-table.js"></script> --> + </body> +</html>