changed current time to line
This commit is contained in:
@@ -546,6 +546,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this.load();
|
this.load();
|
||||||
|
console.log("selected", this.state.selected);
|
||||||
if (this.config.macros[id].alert == true) {
|
if (this.config.macros[id].alert == true) {
|
||||||
this.macrosLoading = true;
|
this.macrosLoading = true;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -19,9 +19,9 @@ script#control-view-template(type="text/x-template")
|
|||||||
button.pure-button(@click="showNoGcodeMessage=false") OK
|
button.pure-button(@click="showNoGcodeMessage=false") OK
|
||||||
|
|
||||||
message(:show.sync="macrosLoading")
|
message(:show.sync="macrosLoading")
|
||||||
h3(slot="header") Run Macros?
|
h3(slot="header") Run Macro?
|
||||||
div(slot="body")
|
div(slot="body")
|
||||||
p The selected macros is being loaded.
|
p The selected macro is being loaded.
|
||||||
|
|
||||||
div(slot="footer")
|
div(slot="footer")
|
||||||
button.pure-button(@click="macrosLoading=false") Cancel
|
button.pure-button(@click="macrosLoading=false") Cancel
|
||||||
@@ -204,20 +204,23 @@ script#control-view-template(type="text/x-template")
|
|||||||
|
|
||||||
td
|
td
|
||||||
table.info
|
table.info
|
||||||
tr
|
|
||||||
th Current Time
|
|
||||||
td
|
|
||||||
span {{current_time}}
|
|
||||||
|
|
||||||
tr
|
tr
|
||||||
th Remaining
|
th Remaining
|
||||||
td(title="Total run time (days:hours:mins:secs)").
|
td(title="Total run time (days:hours:mins:secs)").
|
||||||
#[span(v-if="plan_time_remaining") {{plan_time_remaining | time}} of]
|
#[span(v-if="plan_time_remaining") {{plan_time_remaining | time}} of]
|
||||||
{{toolpath.time | time}}
|
{{toolpath.time | time}}
|
||||||
|
|
||||||
tr
|
tr
|
||||||
th ETA
|
th ETA
|
||||||
td.eta {{eta}}
|
td.eta {{eta}}
|
||||||
|
|
||||||
|
tr
|
||||||
|
th Line
|
||||||
|
td
|
||||||
|
| {{0 <= state.line ? state.line : 0 | number}}
|
||||||
|
span(v-if="toolpath.lines")
|
||||||
|
| of {{toolpath.lines | number}}
|
||||||
|
|
||||||
tr
|
tr
|
||||||
th Progress
|
th Progress
|
||||||
td.progress
|
td.progress
|
||||||
|
|||||||
Reference in New Issue
Block a user