changed gcode viewer in macros
This commit is contained in:
@@ -75,8 +75,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -105,8 +105,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -135,8 +135,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -165,8 +165,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -195,8 +195,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -225,8 +225,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -255,8 +255,8 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
@@ -285,9 +285,12 @@ script#macros-template(type="text/x-template")
|
||||
accept=".nc,.ngc,.gcode,.gc")
|
||||
br
|
||||
.gcodeContainer
|
||||
textarea.new-gcode( v-if="state.selected=='default'",:value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
gcode-viewer(v-if="state.selected !== 'default'")
|
||||
textarea.new-gcode( :value='newGcode[tab-1]' @input="updateNewGcode")
|
||||
//- gcode-viewer(v-if="state.selected !== 'default'")
|
||||
button.submit-macros(title="Save Macros",@click="confirmSave=true",
|
||||
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border:0;margin-top:30px") Save
|
||||
button.submit-macros(title="Cancel Macros",@click="cancelMacros",
|
||||
style="height:50px;width:140px;font-weight:normal;margin-left:5px;background-color:#f6f6f6;color:#000;border:0;margin-top:30px") Cancel
|
||||
|
||||
button.submit-macros(title="Cancel Macros",@click="printState",
|
||||
style="height:50px;width:140px;font-weight:normal;margin-left:5px;background-color:#f6f6f6;color:#000;border:0;margin-top:30px") Print State
|
||||
|
||||
Reference in New Issue
Block a user