control: restore Home All button in DRO header

Legacy Onefinity exposed a master Home All in the DRO header. Our
V09 redesign only kept it inside the no-W fallback row, so machines
with the W axis enabled (which is most users now) had no master
home button. Add it back to the DRO header's Actions column.

home_all() fires /api/home for X/Y/Z/A and /api/aux/home for W in
parallel \u2014 the AVR and the auxcnc ESP run independent homing cycles
so the user sees one click homing everything.
This commit is contained in:
muehe
2026-05-01 15:54:52 +02:00
parent 3baa67360c
commit ecf3191fcc
2 changed files with 23 additions and 1 deletions

View File

@@ -213,7 +213,14 @@ script#control-view-template(type="text/x-template")
div Offset
div State
div Toolpath
div(style="text-align:right") Actions
.actions-cell
// Master Home All. Each row's Actions cell has a per-axis
// home button; this header-level button homes every
// enabled axis (legacy Onefinity behavior). Auto-includes
// the W axis when it is enabled.
button.icon-btn(:disabled="!is_idle",
title="Home all axes.", @click="home_all()")
.fa.fa-house-chimney
// Per-axis rows — keep unit-value + bindings from axis-vars
each axis in 'xyzabc'