|
9 | 9 |
|
10 | 10 | <div class="modal" id="buildmodal" tabindex="-1" aria-labelledby="buildmodalLabel" aria-hidden="true"> |
11 | 11 | <div class="modal-dialog modal-lg modal-dialog-centered modal-dialog-scrollable"> |
12 | | - <div class="modal-content"> |
13 | | - <div class="modal-header"> |
14 | | - <h5 class="modal-title" id="buildmodalLabel">Prepare to Start Build</h5> |
15 | | - <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
16 | | - </div> |
17 | | - <div class="modal-body"> |
18 | | - <h6>⚠️ Please follow these steps before continuing:</h6> |
19 | | - <ol> |
20 | | - <li><strong>Close all other applications.</strong></li> |
21 | | - <li>Launch the <strong>Direct Strike Tutorial</strong> map in StarCraft II.</li> |
22 | | - <li> |
23 | | - Assign hotkeys: |
24 | | - <ul> |
25 | | - <li>Set Team 1's worker (top player) to hotkey <strong>1</strong></li> |
26 | | - <li>Set Team 2's worker (bottom player) to hotkey <strong>2</strong></li> |
27 | | - </ul> |
28 | | - </li> |
29 | | - <li><strong>Do not move the workers!</strong> They must stay centered for accurate unit placement.</li> |
30 | | - <li>In <strong>dsstats</strong>, load the replay and select the desired build.</li> |
31 | | - <li>Click the <strong>Build</strong> button (below) and <strong>switch back to StarCraft II immediately</strong>.</li> |
32 | | - <li><strong>Don't touch your mouse or keyboard</strong> until the build is done.</li> |
33 | | - <li>Ensure no other application is in focus during the build process.</li> |
34 | | - </ol> |
35 | | - <hr /> |
36 | | - <div> |
37 | | - <label for="fenInput" class="form-label"><strong>Modify FEN (optional):</strong></label> |
38 | | - <textarea id="fenInput" class="form-control" rows="4" @bind="fen"></textarea> |
39 | | - <button class="btn btn-outline-primary mt-2" @onclick="ApplyFen">Apply FEN</button> |
| 12 | + @if (RemoteToggleService.IsMaui) |
| 13 | + { |
| 14 | + <div class="modal-content"> |
| 15 | + <div class="modal-header"> |
| 16 | + <h5 class="modal-title" id="buildmodalLabel">Prepare to Start Build <b>EXPERIMENTAL</b></h5> |
| 17 | + <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 18 | + </div> |
| 19 | + <div class="modal-body"> |
| 20 | + <h6>⚠️ Please follow these steps before continuing:</h6> |
| 21 | + <ol> |
| 22 | + <li><strong>Close all other applications.</strong></li> |
| 23 | + <li>Launch the <strong>Direct Strike Tutorial</strong> map in StarCraft II.</li> |
| 24 | + <li> |
| 25 | + Assign hotkeys: |
| 26 | + <ul> |
| 27 | + <li>Set Team 1's worker (top player) to hotkey <strong>1</strong></li> |
| 28 | + <li>Set Team 2's worker (bottom player) to hotkey <strong>2</strong></li> |
| 29 | + </ul> |
| 30 | + </li> |
| 31 | + <li><strong>Do not move the workers!</strong> They must stay centered for accurate unit placement.</li> |
| 32 | + <li>In <strong>dsstats</strong>, load the replay and select the desired build.</li> |
| 33 | + <li>Click the <strong>Build</strong> button (below) and <strong>switch back to StarCraft II immediately</strong>.</li> |
| 34 | + <li><strong>Don't touch your mouse or keyboard</strong> until the build is done.</li> |
| 35 | + <li>Ensure no other application is in focus during the build process.</li> |
| 36 | + </ol> |
| 37 | + <hr /> |
| 38 | + <div> |
| 39 | + <label for="fenInput" class="form-label"><strong>Modify FEN (optional):</strong></label> |
| 40 | + <textarea id="fenInput" class="form-control" rows="4" @bind="fen"></textarea> |
| 41 | + <button class="btn btn-outline-primary mt-2" @onclick="ApplyFen">Apply FEN</button> |
| 42 | + </div> |
| 43 | + </div> |
| 44 | + <div class="modal-footer"> |
| 45 | + <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button> |
| 46 | + <button type="button" class="btn btn-primary" @onclick="StartBuild">Start Build</button> |
40 | 47 | </div> |
41 | 48 | </div> |
42 | | - <div class="modal-footer"> |
43 | | - <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Cancel</button> |
44 | | - <button type="button" class="btn btn-primary" @onclick="StartBuild">Start Build</button> |
| 49 | + } |
| 50 | + else |
| 51 | + { |
| 52 | + <div class="modal-content"> |
| 53 | + <div class="modal-header"> |
| 54 | + <h5 class="modal-title" id="buildmodalLabel">DS FEN String</h5> |
| 55 | + <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> |
| 56 | + </div> |
| 57 | + <div class="modal-body"> |
| 58 | + You can use this string to build the units in the Direct Strike Tutorial Map using the sc2dsstats app. |
| 59 | + <div> |
| 60 | + <label for="fenInput" class="form-label"><strong>FEN:</strong></label> |
| 61 | + <textarea id="fenInput" disabled class="form-control" rows="4" @bind="fen"></textarea> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + <div class="modal-footer"> |
| 65 | + <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button> |
| 66 | + </div> |
45 | 67 | </div> |
46 | | - </div> |
| 68 | + } |
47 | 69 | </div> |
48 | 70 | </div> |
49 | 71 |
|
|
0 commit comments