Philipp Schrader | 6b2e950 | 2022-03-15 23:42:56 -0700 | [diff] [blame] | 1 | <div class="header" #header> |
Philipp Schrader | 2b33427 | 2023-04-11 21:27:36 -0700 | [diff] [blame] | 2 | <h2> |
| 3 | <span *ngIf="section != 'Team Selection'">{{teamNumber}}</span> |
| 4 | {{section}} |
| 5 | </h2> |
Philipp Schrader | 8058743 | 2022-03-05 15:41:22 -0800 | [diff] [blame] | 6 | </div> |
Philipp Schrader | 8058743 | 2022-03-05 15:41:22 -0800 | [diff] [blame] | 7 | <ng-container [ngSwitch]="section"> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 8 | <div |
| 9 | *ngSwitchCase="'Team Selection'" |
| 10 | id="team_selection" |
| 11 | class="container-fluid" |
| 12 | > |
| 13 | <div class="row"> |
| 14 | <label for="match_number">Match Number</label> |
| 15 | <input |
| 16 | [(ngModel)]="matchNumber" |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 17 | (ngModelChange)="updateTeamSelectionValidity()" |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 18 | type="number" |
| 19 | id="match_number" |
| 20 | min="1" |
| 21 | max="999" |
| 22 | /> |
| 23 | </div> |
| 24 | <div class="row"> |
| 25 | <label for="team_number">Team Number</label> |
| 26 | <input |
| 27 | [(ngModel)]="teamNumber" |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 28 | (ngModelChange)="updateTeamSelectionValidity()" |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 29 | type="number" |
| 30 | id="team_number" |
| 31 | min="1" |
| 32 | max="9999" |
| 33 | /> |
| 34 | </div> |
Philipp Schrader | 8aeb14f | 2022-04-08 21:23:18 -0700 | [diff] [blame] | 35 | <div class="row"> |
Philipp Schrader | 30b4a68 | 2022-04-16 14:36:17 -0700 | [diff] [blame] | 36 | <label for="set_number">Set Number</label> |
| 37 | <input |
| 38 | [(ngModel)]="setNumber" |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 39 | (ngModelChange)="updateTeamSelectionValidity()" |
Philipp Schrader | 30b4a68 | 2022-04-16 14:36:17 -0700 | [diff] [blame] | 40 | type="number" |
| 41 | id="set_number" |
| 42 | min="1" |
| 43 | max="10" |
| 44 | /> |
Philipp Schrader | 8aeb14f | 2022-04-08 21:23:18 -0700 | [diff] [blame] | 45 | </div> |
| 46 | <div class="row"> |
Philipp Schrader | 30b4a68 | 2022-04-16 14:36:17 -0700 | [diff] [blame] | 47 | <label for="comp_level">Comp Level</label> |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 48 | <select |
| 49 | [(ngModel)]="compLevel" |
| 50 | (ngModelChange)="updateTeamSelectionValidity()" |
| 51 | type="number" |
| 52 | id="comp_level" |
| 53 | > |
Philipp Schrader | 8aeb14f | 2022-04-08 21:23:18 -0700 | [diff] [blame] | 54 | <option *ngFor="let level of COMP_LEVELS" [ngValue]="level"> |
| 55 | {{COMP_LEVEL_LABELS[level]}} |
| 56 | </option> |
| 57 | </select> |
| 58 | </div> |
Philipp Schrader | e149885 | 2023-04-15 18:06:45 -0700 | [diff] [blame] | 59 | <div class="row"> |
| 60 | <label> |
| 61 | <input |
| 62 | id="pre_scouting" |
| 63 | type="checkbox" |
| 64 | [(ngModel)]="preScouting" |
| 65 | (ngModelChange)="updateTeamSelectionValidity()" |
| 66 | /> |
| 67 | Pre-scouting |
| 68 | </label> |
| 69 | </div> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 70 | <div class="buttons"> |
| 71 | <!-- hack to right align the next button --> |
| 72 | <div></div> |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 73 | <button |
| 74 | class="btn btn-primary" |
| 75 | (click)="changeSectionTo('Init');" |
| 76 | [disabled]="!teamSelectionIsValid" |
| 77 | > |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 78 | Next |
| 79 | </button> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 80 | </div> |
| 81 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 82 | <div *ngSwitchCase="'Init'" id="init" class="container-fluid"> |
| 83 | <h2>Select Starting Position</h2> |
Filip Kujawa | 1d9add9 | 2023-03-03 13:14:40 -0800 | [diff] [blame] | 84 | <img |
| 85 | id="field_starting_positions_image" |
| 86 | src="/sha256/b71def525fb78486617a8b350c0ba6907e8ea25f78d4084a932cba8ae922528c/pictures/field/field.jpg" |
| 87 | alt="Starting Positions Image" |
| 88 | class="img-fluid" |
| 89 | /> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 90 | <div *ngFor="let i of [1, 2, 3, 4]"> |
| 91 | <label> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 92 | <input |
| 93 | type="radio" |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 94 | name="radio-group" |
| 95 | [value]="i" |
| 96 | (change)="selectedValue = $event.target.value" |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 97 | /> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 98 | {{ i }} |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 99 | </label> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 100 | </div> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 101 | <div class="buttons"> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 102 | <!-- Creates a responsive stack of full-width, "block buttons". --> |
Filip Kujawa | 36f5608 | 2023-03-03 10:58:53 -0800 | [diff] [blame] | 103 | <div class="d-grid gap-5"> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 104 | <button |
| 105 | class="btn btn-primary" |
| 106 | [disabled]="!selectedValue" |
| 107 | (click)="changeSectionTo('Pickup'); addAction({type: 'startMatchAction', position: selectedValue});" |
| 108 | > |
| 109 | Start Match |
| 110 | </button> |
| 111 | </div> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 112 | </div> |
| 113 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 114 | <div *ngSwitchCase="'Pickup'" id="PickUp" class="container-fluid"> |
Filip Kujawa | 493b59f | 2023-03-11 17:58:59 -0800 | [diff] [blame] | 115 | <h6 class="text-muted"> |
| 116 | Last Action: {{actionList[actionList.length - 1].type}} |
| 117 | </h6> |
Philipp Schrader | 9ade12c | 2023-04-20 13:03:33 -0700 | [diff] [blame] | 118 | <!-- |
Filip Kujawa | aa7d11f | 2023-04-13 09:12:32 -0700 | [diff] [blame] | 119 | Decrease distance between buttons during auto to make space for auto balancing |
| 120 | selection and keep all buttons visible without scrolling on most devices. |
| 121 | --> |
| 122 | <div |
| 123 | [ngClass]="{'d-grid': true, 'gap-3': autoPhase === true, 'gap-5': autoPhase === false}" |
| 124 | > |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 125 | <button class="btn btn-secondary" (click)="undoLastAction()">UNDO</button> |
| 126 | <button |
| 127 | class="btn btn-danger" |
| 128 | (click)="changeSectionTo('Dead'); addAction({type: 'robotDeathAction', robotOn: false});" |
| 129 | > |
| 130 | DEAD |
| 131 | </button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 132 | <button |
| 133 | class="btn btn-warning" |
| 134 | (click)="changeSectionTo('Place'); addAction({type: 'pickupObjectAction', objectType: ObjectType.kCone});" |
| 135 | > |
| 136 | CONE |
| 137 | </button> |
| 138 | <button |
| 139 | class="btn btn-primary" |
| 140 | (click)="changeSectionTo('Place'); addAction({type: 'pickupObjectAction', objectType: ObjectType.kCube});" |
| 141 | > |
| 142 | CUBE |
| 143 | </button> |
Filip Kujawa | 0b4b1e5 | 2023-04-15 14:05:40 -0700 | [diff] [blame] | 144 | <button |
Filip Kujawa | b73e94c | 2023-04-19 09:33:14 -0700 | [diff] [blame] | 145 | *ngIf="autoPhase && !mobilityCompleted" |
Filip Kujawa | 0b4b1e5 | 2023-04-15 14:05:40 -0700 | [diff] [blame] | 146 | class="btn btn-light" |
| 147 | (click)="addAction({type: 'mobilityAction', mobility: true});" |
| 148 | > |
| 149 | Mobility |
| 150 | </button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 151 | <!-- 'Balancing' during auto. --> |
| 152 | <div *ngIf="autoPhase" class="d-grid gap-2"> |
| 153 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 154 | <input #docked type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 155 | Docked (on the charging station) |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 156 | </label> |
| 157 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 158 | <input #engaged type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 159 | Engaged (level & station lights on) |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 160 | </label> |
Emily Markova | 63c63f6 | 2023-03-29 20:57:35 -0700 | [diff] [blame] | 161 | <label> |
| 162 | <input #attempted type="checkbox" /> |
| 163 | Attempted to dock and engage but failed |
| 164 | </label> |
Philipp Schrader | 9ade12c | 2023-04-20 13:03:33 -0700 | [diff] [blame] | 165 | <button |
| 166 | class="btn btn-dark" |
| 167 | (click)="autoPhase = false; addAction({type: 'endAutoPhase'}); addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});" |
| 168 | > |
| 169 | Start Teleop |
| 170 | </button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 171 | </div> |
| 172 | <button |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 173 | *ngIf="!autoPhase" |
| 174 | class="btn btn-info" |
| 175 | (click)="changeSectionTo('Endgame')" |
| 176 | > |
| 177 | Endgame |
| 178 | </button> |
| 179 | </div> |
| 180 | </div> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 181 | <div *ngSwitchCase="'Place'" id="Place" class="container-fluid"> |
Filip Kujawa | 493b59f | 2023-03-11 17:58:59 -0800 | [diff] [blame] | 182 | <h6 class="text-muted"> |
| 183 | Last Action: {{actionList[actionList.length - 1].type}} |
| 184 | </h6> |
Philipp Schrader | 9ade12c | 2023-04-20 13:03:33 -0700 | [diff] [blame] | 185 | <!-- |
Filip Kujawa | aa7d11f | 2023-04-13 09:12:32 -0700 | [diff] [blame] | 186 | Decrease distance between buttons during auto to make space for auto balancing |
| 187 | selection and keep all buttons visible without scrolling on most devices. |
| 188 | --> |
| 189 | <div |
| 190 | [ngClass]="{'d-grid': true, 'gap-3': autoPhase === true, 'gap-5': autoPhase === false}" |
| 191 | > |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 192 | <button class="btn btn-secondary" (click)="undoLastAction()">UNDO</button> |
| 193 | <button |
| 194 | class="btn btn-danger" |
| 195 | (click)="changeSectionTo('Dead'); addAction({type: 'robotDeathAction', robotOn: false});" |
| 196 | > |
| 197 | DEAD |
| 198 | </button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 199 | <button |
| 200 | class="btn btn-success" |
| 201 | (click)="changeSectionTo('Pickup'); addAction({type: 'placeObjectAction', scoreLevel: ScoreLevel.kHigh});" |
| 202 | > |
| 203 | HIGH |
| 204 | </button> |
| 205 | <button |
| 206 | class="btn btn-warning" |
| 207 | (click)="changeSectionTo('Pickup'); addAction({type: 'placeObjectAction', scoreLevel: ScoreLevel.kMiddle});" |
| 208 | > |
| 209 | MID |
| 210 | </button> |
| 211 | <button |
| 212 | class="btn btn-danger" |
| 213 | (click)="changeSectionTo('Pickup'); addAction({type: 'placeObjectAction', scoreLevel: ScoreLevel.kLow});" |
| 214 | > |
| 215 | LOW |
| 216 | </button> |
Filip Kujawa | 0b4b1e5 | 2023-04-15 14:05:40 -0700 | [diff] [blame] | 217 | <button |
Filip Kujawa | b73e94c | 2023-04-19 09:33:14 -0700 | [diff] [blame] | 218 | *ngIf="autoPhase && !mobilityCompleted" |
Filip Kujawa | 0b4b1e5 | 2023-04-15 14:05:40 -0700 | [diff] [blame] | 219 | class="btn btn-light" |
| 220 | (click)="addAction({type: 'mobilityAction', mobility: true});" |
| 221 | > |
| 222 | Mobility |
| 223 | </button> |
Filip Kujawa | 7a045e7 | 2023-04-13 08:41:09 -0700 | [diff] [blame] | 224 | <!-- Impossible to place supercharged pieces in auto. --> |
| 225 | <div *ngIf="autoPhase == false" class="d-grid gap-2"> |
| 226 | <button |
| 227 | class="btn btn-dark" |
| 228 | (click)="changeSectionTo('Pickup'); addAction({type: 'placeObjectAction', scoreLevel: ScoreLevel.kSupercharged});" |
| 229 | > |
| 230 | SUPERCHARGED |
| 231 | </button> |
| 232 | </div> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 233 | <!-- 'Balancing' during auto. --> |
Filip Kujawa | 0b4b1e5 | 2023-04-15 14:05:40 -0700 | [diff] [blame] | 234 | <div *ngIf="autoPhase" class="d-grid gap-1"> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 235 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 236 | <input #docked type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 237 | Docked (on the charging station) |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 238 | </label> |
| 239 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 240 | <input #engaged type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 241 | Engaged (level & station lights on) |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 242 | </label> |
Emily Markova | 63c63f6 | 2023-03-29 20:57:35 -0700 | [diff] [blame] | 243 | <label> |
| 244 | <input #attempted type="checkbox" /> |
| 245 | Attempted to dock and engage but failed |
| 246 | </label> |
Philipp Schrader | 9ade12c | 2023-04-20 13:03:33 -0700 | [diff] [blame] | 247 | <button |
| 248 | class="btn btn-dark" |
| 249 | (click)="autoPhase = false; addAction({type: 'endAutoPhase'}); addAction({type: 'autoBalanceAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});" |
| 250 | > |
| 251 | Start Teleop |
| 252 | </button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 253 | </div> |
| 254 | <button |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 255 | *ngIf="!autoPhase" |
| 256 | class="btn btn-info" |
| 257 | (click)="changeSectionTo('Endgame')" |
| 258 | > |
| 259 | Endgame |
| 260 | </button> |
| 261 | </div> |
| 262 | </div> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 263 | <div *ngSwitchCase="'Endgame'" id="Endgame" class="container-fluid"> |
Filip Kujawa | 493b59f | 2023-03-11 17:58:59 -0800 | [diff] [blame] | 264 | <h6 class="text-muted"> |
| 265 | Last Action: {{actionList[actionList.length - 1].type}} |
| 266 | </h6> |
Filip Kujawa | 36f5608 | 2023-03-03 10:58:53 -0800 | [diff] [blame] | 267 | <div class="d-grid gap-5"> |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 268 | <button class="btn btn-secondary" (click)="undoLastAction()">UNDO</button> |
| 269 | <button |
| 270 | class="btn btn-danger" |
| 271 | (click)="changeSectionTo('Dead'); addAction({type: 'robotDeathAction', robotOn: false});" |
| 272 | > |
| 273 | DEAD |
| 274 | </button> |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 275 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 276 | <input #docked type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 277 | Docked (on the charging station) |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 278 | </label> |
| 279 | <label> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 280 | <input #engaged type="checkbox" /> |
Philipp Schrader | 87fe98a | 2023-04-15 17:26:34 -0700 | [diff] [blame] | 281 | Engaged (level & station lights on) |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 282 | </label> |
Emily Markova | 63c63f6 | 2023-03-29 20:57:35 -0700 | [diff] [blame] | 283 | <label> |
| 284 | <input #attempted type="checkbox" /> |
| 285 | Attempted to dock and engage but failed |
| 286 | </label> |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 287 | <button |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 288 | *ngIf="!autoPhase" |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 289 | class="btn btn-info" |
Emily Markova | 63c63f6 | 2023-03-29 20:57:35 -0700 | [diff] [blame] | 290 | (click)="changeSectionTo('Review and Submit'); addAction({type: 'endMatchAction', docked: docked.checked, engaged: engaged.checked, balanceAttempt: attempted.checked});" |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 291 | > |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 292 | End Match |
Filip Kujawa | 4413a59 | 2023-03-01 10:54:34 -0800 | [diff] [blame] | 293 | </button> |
| 294 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 295 | </div> |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 296 | <div *ngSwitchCase="'Dead'" id="Dead" class="container-fluid"> |
| 297 | <h2>Robot is dead</h2> |
| 298 | <div class="d-grid gap-2"> |
| 299 | <button |
| 300 | class="btn btn-success" |
| 301 | (click)="changeSectionTo('Pickup'); addAction({type: 'robotDeathAction', robotOn: true}); " |
| 302 | > |
| 303 | Revive |
| 304 | </button> |
Filip Kujawa | 32d13b6 | 2023-03-11 17:41:53 -0800 | [diff] [blame] | 305 | <button |
| 306 | class="btn btn-info" |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 307 | (click)="changeSectionTo('Review and Submit'); addAction({type: 'endMatchAction', docked: docked.checked, engaged: engaged.checked});" |
Filip Kujawa | 32d13b6 | 2023-03-11 17:41:53 -0800 | [diff] [blame] | 308 | > |
| 309 | End Match |
| 310 | </button> |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 311 | </div> |
| 312 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 313 | <div *ngSwitchCase="'Review and Submit'" id="Review" class="container-fluid"> |
Filip Kujawa | 36f5608 | 2023-03-03 10:58:53 -0800 | [diff] [blame] | 314 | <div class="d-grid gap-5"> |
Filip Kujawa | 9f56d0e | 2023-03-03 19:44:43 -0800 | [diff] [blame] | 315 | <button class="btn btn-secondary" (click)="undoLastAction()">UNDO</button> |
Filip Kujawa | 32d13b6 | 2023-03-11 17:41:53 -0800 | [diff] [blame] | 316 | <button class="btn btn-warning" (click)="submitActions();">Submit</button> |
Filip Kujawa | 375aaac | 2023-02-28 21:43:47 -0800 | [diff] [blame] | 317 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 318 | </div> |
Filip Kujawa | 0ef334c | 2023-02-20 19:42:45 -0800 | [diff] [blame] | 319 | <div *ngSwitchCase="'Success'" id="Success" class="container-fluid"> |
| 320 | <h2>Successfully submitted data.</h2> |
Philipp Schrader | 817cce3 | 2022-03-26 15:00:00 -0700 | [diff] [blame] | 321 | </div> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 322 | |
Philipp Schrader | 8702b78 | 2023-04-15 17:33:37 -0700 | [diff] [blame] | 323 | <span class="progress_message" role="alert">{{ progressMessage }}</span> |
Philipp Schrader | 8686bbb | 2023-03-22 20:15:21 -0700 | [diff] [blame] | 324 | <span class="error_message" role="alert">{{ errorMessage }}</span> |
Philipp Schrader | 8058743 | 2022-03-05 15:41:22 -0800 | [diff] [blame] | 325 | </ng-container> |