This commit is contained in:
sanjayk03-dev
2023-12-30 11:00:02 +05:30
parent d202ccfdf3
commit 129c27881a
4 changed files with 27 additions and 12 deletions

View File

@@ -7,13 +7,17 @@ script#macros-template(type="text/x-template")
p.title Select Your Macros Color
input.input-color(type="color",id="macros-color",value="#ffffff")
p.title 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%")
style="max-width:100%;height:40px;border-radius:5px")
option(v-for="file in state.files", :value="file") {{file}}
button.submit-macros(title="Save Macros",@click="saveMacros",style="height:100px;width:100px;font-weight:normal") Save Macros
button.pure-button(title="Upload a new GCode program.", @click="open",
:disabled="!is_ready",style="height:40px;width:50px;font-weight:normal;border-radius:5px")
Upload
button.submit-macros(title="Save Macros",@click="saveMacros",
style="height:50px;width:140px;font-weight:normal;background-color:#add1ad;color:#fff;border-color:#add1ad") Save Macros
button.pure-button(title="Print config.", @click="printConfig",
style="height:50px;width:100px;font-weight:normal")
.fa.fa-folder-open
gcode-viewer