change button text #27
This commit is contained in:
@@ -249,7 +249,7 @@ function buildHTML() {
|
||||
</div>
|
||||
<div style="display:flex; gap: 8px;">
|
||||
<button id="btn-force-home" class="btn btn-danger" style="flex:1; padding: 10px; font-weight:bold;">
|
||||
${isHomed ? 'FORCE HOME ALL' : 'HOME ALL MOTORS'}
|
||||
${isHomed ? 'FORCE HOME' : 'HOME ALL'}
|
||||
</button>
|
||||
<button id="btn-park" class="btn btn-secondary" style="flex:1; padding: 10px; font-weight:bold;">
|
||||
GO TO PARK
|
||||
@@ -345,11 +345,11 @@ function updateHomingUI() {
|
||||
if (isHomed) {
|
||||
banner.className = 'homing-banner homed';
|
||||
banner.textContent = '✓ HOMED';
|
||||
btn.textContent = 'FORCE HOME ALL';
|
||||
btn.textContent = 'FORCE HOME';
|
||||
} else {
|
||||
banner.className = 'homing-banner not-homed';
|
||||
banner.textContent = '⚠ NOT HOMED! Movement Locked.';
|
||||
btn.textContent = 'HOME ALL MOTORS';
|
||||
btn.textContent = 'HOME ALL';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user