-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTM_pollingSolas.html
46 lines (39 loc) · 1.06 KB
/
TM_pollingSolas.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<img src="header_Solas2s.JPG" />
<hr /><title>Solas TM Checker Component TM_pollingSolas.html</title>
<!--
Creation Date: 21 February 2012
Author: Ian O'Keeffe
Modification History:
--------------------------
15-03-2012
This page controls calling LocConnect to see if a job is available, and if so, to process it.
pollingSolas.html -> solas_api.php (API to the Project Management User Interface of LocConnect)
It polls LocConnect every second
--------------------------
-->
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#LocConnectStatus").load("TM_solas_api.php");
var refreshId = setInterval(function() {
$("#LocConnectStatus").load("TM_solas_api.php");
}, 1000);
});
</script>
<!-- This javascript polls LocConnect via apipmui.php every 1000 milliseconds. -->
</head>
<body>
<h2>Solas TM Checker Component - TM_pollingSolas.html</h2>
<br>
<hr />
<br>
LocConnect Status:
<div id="LocConnectStatus"></div>
<br>
<hr />
<img src="footer_CNGL_LRC.JPG" /><br>
</body>
</html>