mirror of
https://github.com/TomasiDeveloping/PlayerManagement.git
synced 2026-04-16 17:22:21 +00:00
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
<div class="modal-header flex-column" xmlns="http://www.w3.org/1999/html">
|
|
<div class="d-flex justify-content-between align-items-center w-100">
|
|
<h4 class="modal-title">Select Player for Marshal Guard</h4>
|
|
<button type="button" class="btn-close" aria-label="Close" (click)="activeModal.dismiss()"></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
<div class="check-box-container d-flex flex-wrap">
|
|
@for (player of playerParticipated; track player.playerId) {
|
|
<div class="form-check flex-item">
|
|
<input class="form-check-input" type="checkbox" [checked]="player.participated" (change)="player.participated = !player.participated" id="{{player.playerId}}">
|
|
<label class="form-check-label" for="{{player.playerId}}">
|
|
<span class="text-color">{{player.playerName}}</span> has Participated
|
|
</label>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-warning" (click)="activeModal.dismiss()">Close</button>
|
|
<button type="submit" (click)="activeModal.close(playerParticipated)" class=" btn btn-success">Add to event</button>
|
|
</div>
|