UI: align W axis marker/home buttons with the X/Y/Z columns

The xyzabc rows have three actions (set-position cog, zero marker, home),
W only has two. Without a placeholder the W buttons render in the left two
slots of the actions cell, leaving the home button unaligned with the home
column above. Added a hidden disabled cog button so the marker and home
buttons sit under the same columns as the rest.
This commit is contained in:
Claude
2026-04-30 17:23:55 +02:00
parent 4f74e75d44
commit 23f22105a8

View File

@@ -206,6 +206,13 @@ script#control-view-template(type="text/x-template")
| {{w.tstate}} | {{w.tstate}}
th.actions th.actions
// Invisible placeholder so the W marker/home buttons line
// up under the same columns as the X/Y/Z buttons above
// (which have a third "set position" cog).
button.pure-button(disabled,
style="height:60px;width:60px;visibility:hidden")
.fa.fa-cog
button.pure-button(title="Set W axis position to 0.", button.pure-button(title="Set W axis position to 0.",
@click="aux_set_zero()", style="height:60px;width:60px") @click="aux_set_zero()", style="height:60px;width:60px")
.fa.fa-map-marker .fa.fa-map-marker