SendMenuView.html 1.25 KB
Newer Older
Amanda Ghassaei's avatar
Amanda Ghassaei committed
1
<% if(connected){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
2 3 4
    <% if(dataOut==0){ %>
        You need to go through the Assemble workflow to setup your machine and create <%= allCamProcesses[camProcess] %> first.
    <% }else{ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
5
        <% if(isStreaming){ %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
6
            <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/>
12
        <a href="#" id="openSerialMonitor" class="btn btn-block btn-lg btn-default">Open Serial Monitor</a><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
13
        Next Line: &nbsp;&nbsp;<input id="nextLine" property="simLineNumber" value="<%= nextLine %>" placeholder="##" class="intInput form-control cam" type="text">
Amanda Ghassaei's avatar
Amanda Ghassaei committed
14 15
        &nbsp;&nbsp;<a href="#" id="previousLineButton" class="btn btn-lg btn-default"><span class="fui-triangle-up"></span></a>
        &nbsp;&nbsp;<a href="#" id="nextLineButton" class="btn btn-lg btn-default"><span class="fui-triangle-down"></span></a><br/><br/>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
16 17 18
        <div id="gcodeEditor"><%= dataOut %></div><br/>
    <% } %>
<% } else { %>
Amanda Ghassaei's avatar
Amanda Ghassaei committed
19 20
    Not connected, go back to setup tab and connect to Node server.
<% } %>