PlayerManagement/Ui/src/app/modals/marshal-guard-modal/marshal-guard-modal.component.html
Tomasi - Developing 35e83c4735 beta 0.0.3
2024-11-26 08:43:01 +01:00

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>