summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorSaloniGoyal2016-06-02 16:21:34 +0530
committerSaloniGoyal2016-06-02 16:21:34 +0530
commita2562ae6883ed5ac824794df6b8bb3d63e834e8f (patch)
treef7cc03715e8a1fdfe09a9111f992c3744d1e6c4d /views
parentd3d5a0c0e44d37bec5374c66efa99bd144a9fced (diff)
downloadeSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.tar.gz
eSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.tar.bz2
eSimWebApp-a2562ae6883ed5ac824794df6b8bb3d63e834e8f.zip
removed send message div
Diffstat (limited to 'views')
-rw-r--r--views/schematic.html8
-rw-r--r--views/script/form.js10
-rw-r--r--views/style/schematic.css4
3 files changed, 1 insertions, 21 deletions
diff --git a/views/schematic.html b/views/schematic.html
index 63e2476..b571ab8 100644
--- a/views/schematic.html
+++ b/views/schematic.html
@@ -71,13 +71,7 @@ toolbar
<a href="http://esim.fossee.in/" target="_blank"><img src="icons/logo.png"/></a>
<br>
<a href="https://github.com/FOSSEE/eSimWebApp" target="_blank">Fossee</a>
- <br>
- <br>
- <br>
- <form id="websocket_form">
- <input id="msgs">
- <button id="send_to_server">Send</button>
- </form>
+
</div>
<!--
diff --git a/views/script/form.js b/views/script/form.js
index 31099bc..42be640 100644
--- a/views/script/form.js
+++ b/views/script/form.js
@@ -1,11 +1 @@
var socket = io();
-
-jQuery("#websocket_form").click(function(){
- var msg = jQuery("#msgs").val();
- if(msg!=''){
- socket.emit('chat message', msg);
- }
- jQuery("#msgs").val('');
- return false;
- });
-
diff --git a/views/style/schematic.css b/views/style/schematic.css
index 582ee1c..1a3f93f 100644
--- a/views/style/schematic.css
+++ b/views/style/schematic.css
@@ -317,10 +317,6 @@ float:left;
}
-#msgs{
- width: 85%;
- height: 500%
-}
#webtronics_chip_display{
width:200px;