alert when gcode not found

This commit is contained in:
sanjayk03-dev
2024-04-08 22:30:56 +05:30
parent 85c8fe0e22
commit 06fadd1c3f
2 changed files with 14 additions and 2 deletions

View File

@@ -29,6 +29,14 @@ script#control-view-template(type="text/x-template")
div(slot="footer")
button.pure-button(@click="macrosLoading=false") Cancel
button.pure-button.pure-button-primary(@click="start_pause") Run
message(:show.sync="GCodeNotFound")
h3(slot="header") File not found
div(slot="body")
p It seems like the file you selected cannot be found. Try uploading again.
div(slot="footer")
button.pure-button.button-error(@click="GCodeNotFound=false")
| OK
table(style="table-layout: fixed; width: 100%;")
tr(style="height: fit-content;")