This commit is contained in:
sanjayk03-dev
2023-12-30 04:21:34 +05:30
parent ca3c2e24d3
commit 5a438dbcb0
3 changed files with 38 additions and 24 deletions

View File

@@ -1,23 +1,16 @@
script#macros-template(type="text/x-template")
#macros
h1 Macros Configuration
input(type="text",id="inputField")
button.printVariable(title="print Varibale", @click='print',
style="height:100px;width:100px;font-weight:normal") PrintVariable
h3 {{no_of_macros}}
//- button.pure-button(title="Upload a new GCode program.", @click="open",
//- :disabled="!is_ready",style="height:100px;width:100px;font-weight:normal")
//- .fa.fa-folder-open
//- select(title="Select previously uploaded GCode programs.",
//- v-model="state.selected", @change="load", :disabled="!is_ready",
//- style="max-width:100%")
//- option(v-for="file in state.files", :value="file") {{file}}
//- .progress(v-if="toolpath_progress && toolpath_progress < 1",
//- title="Simulating GCode to check for errors, calculate ETA and " +
//- "generate 3D view. You can run GCode before the simulation " +
//- "finishes.")
//- div(:style="'width:' + (toolpath_progress || 0) * 100 + '%'")
//- label Simulating {{(toolpath_progress || 0) | percent}}
gcode-viewer
.macros-form
h3 Name
input.input-name(type="text",id="macros-name",value="e.g Macros 1 ")
.macros-form
h3 Select/Upload G-Code
button.pure-button(title="Upload a new GCode program.", @click="open",
:disabled="!is_ready",style="height:100px;width:100px;font-weight:normal")
.fa.fa-folder-open
select(title="Select previously uploaded GCode programs.",
v-model="state.selected", @change="load", :disabled="!is_ready",
style="max-width:100%")
option(v-for="file in state.files", :value="file") {{file}}
gcode-viewer