SendMenuView.html 1.26 KB
Newer Older
Amanda Ghassaei's avatar
Amanda Ghassaei committed
1
<% if(connected){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
2
3
4
5
6
    <% if(dataOut==0){ %>
        You need to go through the Assemble workflow to setup your machine and create <%= allCamProcesses[camProcess] %> first.
    <% }else{ %>
        <% if(streaming){ %>
            <a href="#" id="pauseStream" class="btn btn-halfWidth btn-lg btn-warning">Pause</a>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
7
            <a href="#" id="stopMachine" class="btn pull-right btn-halfWidth btn-lg btn-danger">Stop</a><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
8
        <% }else{ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
9
            <a href="#" id="streamCommands" class="btn btn-block btn-lg btn-success">Stream</a>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
10
        <% } %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
11
        <br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
12
13
        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/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
14
15
16
        Next Line: &nbsp;&nbsp;<input id="nextLine" value="" placeholder="##" class="intInput form-control unresponsiveInput" type="text">
        <a href="#" id="previousLineButton" class="btn btn-lg btn-default">Prev</a>
        <a href="#" id="nextLineButton" class="btn btn-lg btn-default">Next</a><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
17
18
19
        <div id="gcodeEditor"><%= dataOut %></div><br/>
    <% } %>
<% } else { %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
20
21
    Not connected, go back to setup tab and connect to Node server.
<% } %>