diff --git a/src/App.vue b/src/App.vue index d7de954c..2c931ef7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -177,10 +177,12 @@ export default { this.$socket.sendObj('printer.gcode.script', { script: "SAVE_CONFIG" }); }, doRestart: function() { + this.$store.commit('setPrinterData', { webhooks: { state: "restart", state_message: "Printer is restarting..."}}); this.$store.commit('addGcodeResponse', "RESTART"); this.$socket.sendObj('printer.gcode.script', { script: "RESTART" }); }, doFirmwareRestart: function() { + this.$store.commit('setPrinterData', { webhooks: { state: "restart", state_message: "Printer is restarting..."}}); this.$store.commit('addGcodeResponse', "FIRMWARE_RESTART"); this.$socket.sendObj('printer.gcode.script', { script: "FIRMWARE_RESTART" }); }, diff --git a/src/components/panels/ExtruderPanel.vue b/src/components/panels/ExtruderPanel.vue index 1af44e01..5eae63a1 100644 --- a/src/components/panels/ExtruderPanel.vue +++ b/src/components/panels/ExtruderPanel.vue @@ -20,8 +20,8 @@ - mdi-arrow-up-bold Retract - mdi-arrow-down-bold Extrude + mdi-arrow-up-bold Retract + mdi-arrow-down-bold Extrude diff --git a/src/components/panels/MinSettingsPanel.vue b/src/components/panels/MinSettingsPanel.vue new file mode 100644 index 00000000..51a1f0a7 --- /dev/null +++ b/src/components/panels/MinSettingsPanel.vue @@ -0,0 +1,97 @@ + + + + + \ No newline at end of file diff --git a/src/components/panels/index.js b/src/components/panels/index.js index 5731e141..885ba0b2 100644 --- a/src/components/panels/index.js +++ b/src/components/panels/index.js @@ -2,6 +2,7 @@ import Vue from 'vue' import StatusPanel from './StatusPanel.vue' import KlippyStatePanel from './KlippyStatePanel.vue' +import MinSettingsPanel from './MinSettingsPanel.vue' import ToolsPanel from './ToolsPanel.vue' import ControlPanel from "./ControlPanel"; import ExtruderPanel from "./ExtruderPanel"; @@ -14,6 +15,7 @@ import PowerControlPanel from "./PowerControlPanel.vue"; Vue.component('status-panel', StatusPanel); Vue.component('klippy-state-panel', KlippyStatePanel); +Vue.component('min-settings-panel', MinSettingsPanel); Vue.component('tools-panel', ToolsPanel); Vue.component('control-panel', ControlPanel); Vue.component('extruder-panel', ExtruderPanel); diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue index 0d109c56..2880c333 100644 --- a/src/pages/Dashboard.vue +++ b/src/pages/Dashboard.vue @@ -1,6 +1,7 @@