Skip to content

Commit 3a07920

Browse files
RickDnampsclaude
andcommitted
ci: sync Android assets + rebuild APK
- index.html: ajouter bouton RESET E-STOP (manquant vs web) - index.html: STOP ALL → scriptEngine.stopAll() (sync fix séquences) - Rebuild APK Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent e2ab3fe commit 3a07920

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

android/app/src/main/assets/index.html

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,16 @@
146146
</div>
147147

148148
<!-- Emergency stop -->
149-
<button class="estop-btn" id="estop-btn" onclick="emergencyStop()">
150-
<span class="estop-icon">&#9632;</span>
151-
<span class="estop-text">EMERGENCY STOP</span>
152-
</button>
149+
<div class="estop-row">
150+
<button class="estop-btn" id="estop-btn" onclick="emergencyStop()">
151+
<span class="estop-icon">&#9632;</span>
152+
<span class="estop-text">EMERGENCY STOP</span>
153+
</button>
154+
<button class="estop-reset-btn" id="estop-reset-btn" onclick="estopReset()">
155+
<span class="estop-icon">&#9654;</span>
156+
<span class="estop-text">RESET E-STOP</span>
157+
</button>
158+
</div>
153159

154160
<!-- Speed + dome controls -->
155161
<div class="drive-controls-row">
@@ -259,7 +265,7 @@ <h3 class="section-title">SOUNDS — <span id="audio-cat-name">select a category
259265
<div class="sequences-header">
260266
<h3 class="section-title">SEQUENCE SCRIPTS</h3>
261267
<div class="row">
262-
<button class="btn btn-danger" onclick="api('/scripts/stop_all','POST').then(()=>toast('All sequences stopped','ok'))">
268+
<button class="btn btn-danger" onclick="scriptEngine.stopAll()">
263269
STOP ALL
264270
</button>
265271
<span class="running-label">Running: <span id="running-count">0</span></span>

android/compiled/R2-D2_Control.apk

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)