This commit is contained in:
sanjayk03-dev
2023-12-30 04:39:31 +05:30
parent 5a438dbcb0
commit dd0bf48d34
3 changed files with 38 additions and 16 deletions

View File

@@ -1,16 +1,20 @@
script#macros-template(type="text/x-template")
#macros
h1 Macros Configuration
.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
.macros-form
.input-field
h4 Enter Macros Name
input.input-name(type="text",id="macros-name",value="e.g Macros 1 ")
.input-field
h4 Select Your Macros Color
input.input-color(type="color",id="macros-color",value="#ffffff")
.input-field
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