www/rec_main.php

Mon, 18 May 2020 11:00:59 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 18 May 2020 11:00:59 +0200
changeset 679
48f8f3fce7c0
parent 67
883e897aad40
permissions
-rw-r--r--

Added reconnecting-websocket.js to automatic reconnect the websocket if the connection is lost. Usefull for mobile devices that go to sleep after a while. Changed mon_fermenters to use websockets instead of polling. Fixed wrong temperature color ranges on the fermenter monior. Increased the websocket receive buffer to 2048. In cannot overflow, but larger messages are chunked and the application does not handle these split messages. Needs termferm 0.9.9 or newer.

67
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 <?php
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2 require_once($_SERVER['DOCUMENT_ROOT'].'/includes/global.inc.php');
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 page_header('Recepten', 'rec_main');
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4 ?>
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6 <div id="jqxgrid"></div>
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 <div style="margin-top: 30px;">
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8 <div id="cellbegineditevent"></div>
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 <div style="margin-top: 10px;" id="cellendeditevent"></div>
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 </div>
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12 <?php
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 page_footer();
883e897aad40 Start building the workflow in the scripts.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
14 ?>

mercurial