syncing message
This commit is contained in:
@@ -100,12 +100,12 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$set("selectedValues[this.tab - 1]", file.name);
|
this.$set("selectedValues[this.tab - 1]", file.name);
|
||||||
this.loadMacrosGcode();
|
|
||||||
|
|
||||||
SvelteComponents.showDialog("Upload", {
|
SvelteComponents.showDialog("Upload", {
|
||||||
file,
|
file,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
this.last_file_time = undefined; // Force reload
|
this.last_file_time = undefined; // Force reload
|
||||||
|
this.loadMacrosGcode();
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -31,11 +31,12 @@ script#macros-template(type="text/x-template")
|
|||||||
| Selected
|
| Selected
|
||||||
|
|
||||||
h1 Macros Configuration
|
h1 Macros Configuration
|
||||||
|
.select-upload-gcode
|
||||||
button.pure-button(title="Reset Macros", @click="confirmReset=true",
|
button.pure-button(title="Reset Macros", @click="confirmReset=true",
|
||||||
style="height:50px;width:170px;font-weight:normal;color:#fff;background-color:#5a9ad7;display:flex;align-items:center;justify-content:space-around") Reset Macros
|
style="height:50px;width:170px;font-weight:normal;color:#fff;background-color:#5a9ad7;display:flex;align-items:center;justify-content:space-around") Reset Macros
|
||||||
.fa.fa-rotate-right
|
.fa.fa-rotate-right
|
||||||
button.pure-button(title="Delete Macros GCodes",@click="deleteMacros = true",
|
button.pure-button(title="Delete Macros GCodes",@click="deleteGCode = true",
|
||||||
:disabled="!state.selected",style="height:50px;width:170px;font-weight:normal;color:#fff;background-color:#5a9ad7;display:flex;align-items:center;justify-content:space-around:margin-left: 0.1rem") Delete GCode
|
:disabled="!state.selected",style="height:50px;width:170px;font-weight:normal;color:#fff;background-color:#5a9ad7;display:flex;align-items:center;justify-content:space-around:margin-left:") Delete GCode
|
||||||
.fa.fa-trash
|
.fa.fa-trash
|
||||||
.warning-box
|
.warning-box
|
||||||
p
|
p
|
||||||
@@ -70,8 +71,8 @@ script#macros-template(type="text/x-template")
|
|||||||
.macros-form
|
.macros-form
|
||||||
p.title Name
|
p.title Name
|
||||||
.input-container
|
.input-container
|
||||||
input.input-color(type="color",id="macros-color-0",value="getMacrosData('color')")
|
input.input-color(type="color",id="macros-color-0",v-model="getMacrosData('color')")
|
||||||
input.input-name(type="text",minlength='1',maxlength='15',id="macros-name-0" value="getMacrosData('name')")
|
input.input-name(type="text",minlength='1',maxlength='15',id="macros-name-0" v-model="getMacrosData('name')")
|
||||||
p.title G-Code
|
p.title G-Code
|
||||||
.select-upload-gcode
|
.select-upload-gcode
|
||||||
select#gcodeSelect-0(title="Select previously uploaded GCode programs.",selected
|
select#gcodeSelect-0(title="Select previously uploaded GCode programs.",selected
|
||||||
|
|||||||
Reference in New Issue
Block a user