summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHrishi Hiraskar2016-10-02 14:53:10 +0530
committerGitHub2016-10-02 14:53:10 +0530
commit869e8de9353b2a20564f7d460fa52a25e5473849 (patch)
treea6f12ce2e307ceb31ee8dd47ced503c21862ed82
parent90d2b21ec32d3169e33293cdb7283f661669ac13 (diff)
downloadxcos-on-web-869e8de9353b2a20564f7d460fa52a25e5473849.tar.gz
xcos-on-web-869e8de9353b2a20564f7d460fa52a25e5473849.tar.bz2
xcos-on-web-869e8de9353b2a20564f7d460fa52a25e5473849.zip
Delete index.html
-rwxr-xr-xtesting/SendLog/templates/index.html33
1 files changed, 0 insertions, 33 deletions
diff --git a/testing/SendLog/templates/index.html b/testing/SendLog/templates/index.html
deleted file mode 100755
index 5eb7bab..0000000
--- a/testing/SendLog/templates/index.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Hrishi Hiraskar
-31 August 2016
--->
-<!DOCTYPE HTML>
-<html>
- <head><title>Send Time</title></head>
-<body onload="get_data()">
-
- <h3>Data from scilab-log-0.txt</h2>
- <span id="foo"></span>
-
- <script type="text/javascript">
- var eventSource;
-
- function get_data(){
- eventSource = new EventSource('/SendLog');
- // Start listening to server
- eventSource.addEventListener("log", function(event){
- document.getElementById('foo').innerHTML += event.data + "<br/>";
- // Scroll to bottom of page
- window.scrollTo(0, document.body.scrollHeight);
- }, false);
- // Stop listening
- eventSource.addEventListener("DONE", function(event){
- eventSource.close(); // Close connection
- }, false);
- }
-
- </script>
-</body>
-</html>