Scouting: Remove submit balancing button
Combine the submit balancing and start teleop buttons to simply user
interface.
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: Ie37947e71d371083ab62a37089a68d2d50667254
diff --git a/scouting/www/entry/entry.ng.html b/scouting/www/entry/entry.ng.html
index 3bc21e5..2459221 100644
--- a/scouting/www/entry/entry.ng.html
+++ b/scouting/www/entry/entry.ng.html
@@ -162,18 +162,11 @@
<input #attempted type="checkbox" />
Attempted to dock and engage but failed
</label>
- <br />
- <button
- class="btn btn-info"
- (click)="addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});"
- >
- Submit Balancing
- </button>
</div>
<button
*ngIf="autoPhase"
class="btn btn-dark"
- (click)="autoPhase = false; addAction({type: 'endAutoPhase'});"
+ (click)="autoPhase = false; addAction({type: 'endAutoPhase'}); addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});"
>
Start Teleop
</button>
@@ -252,18 +245,11 @@
<input #attempted type="checkbox" />
Attempted to dock and engage but failed
</label>
- <br />
- <button
- class="btn btn-info"
- (click)="addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});"
- >
- Submit Balancing
- </button>
</div>
<button
*ngIf="autoPhase"
class="btn btn-dark"
- (click)="autoPhase = false; addAction({type: 'endAutoPhase'});"
+ (click)="autoPhase = false; addAction({type: 'endAutoPhase'}); addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});"
>
Start Teleop
</button>