Skip to content
Snippets Groups Projects
Commit a86fa01b authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

check connected run men

parent 7187c3aa
No related branches found
No related tags found
No related merge requests found
Incoming: &nbsp;&nbsp;<pre id="incomingSerialMessage"></pre><br/><br/>
Out: &nbsp;&nbsp;<input id="sendSerialMessage" value="" placeholder="Send Message" class="seventyFiveWidth form-control unresponsiveInput" type="text"><br/><br/>
<a href="#" id="stopMachine" class="btn btn-block btn-lg btn-danger">Stop</a><br/>
\ No newline at end of file
<% if(connected){ %>
Incoming: &nbsp;&nbsp;<pre id="incomingSerialMessage"></pre><br/><br/>
Out: &nbsp;&nbsp;<input id="sendSerialMessage" value="" placeholder="Send Message" class="seventyFiveWidth form-control unresponsiveInput" type="text"><br/><br/>
<a href="#" id="stopMachine" class="btn btn-block btn-lg btn-danger">Stop</a><br/>
<% }else{ %>
Not connected, go back to setup tab and connect to Node server.
<% } %>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment