reseting to config , reset to delete

This commit is contained in:
sanjayk03-dev
2024-01-27 12:24:54 +05:30
parent 23590b24df
commit 2cd9dedd40
6 changed files with 108 additions and 218 deletions

View File

@@ -9,6 +9,14 @@ script#control-view-template(type="text/x-template")
div(slot="footer")
label Simulating {{(toolpath_progress || 0) | percent}}
message(:show.sync="showNoGcodeMessage")
h3(slot="header") GCode Not Set
div(slot="body")
p Configure the GCode for the selected macros to use it
div(slot="footer")
button.pure-button(@click="showNoGcodeMessage=false") OK
table(style="table-layout: fixed; width: 100%;")
tr(style="height: fit-content;")

View File

@@ -1,14 +1,14 @@
script#macros-template(type="text/x-template")
#macros
message(:show.sync="confirmReset")
h3(slot="header") Reset All Macros?
h3(slot="header") Delete All Macros?
div(slot="body")
p Are you sure you want to reset all macros?
p Are you sure you want to Delete all macros?
div(slot="footer")
button.pure-button(@click="confirmReset=false") Cancel
button.pure-button.pure-button-primary(@click="resetConfig")
| Reset
button.pure-button.pure-button-primary(@click="deleteAllMacros")
| Delete All
message(:show.sync="confirmSave")
h3(slot="header") Confirm Save?
@@ -24,9 +24,6 @@ script#macros-template(type="text/x-template")
p(slot="body")
div(slot="footer")
button.pure-button(@click="deleteGCode = false") Cancel
button.pure-button.button-error(@click="delete_all_macros")
.fa.fa-trash
|  All Macros
button.pure-button.button-success(@click="delete_current")
.fa.fa-trash
|  Selected