Skip to content

Commit

Permalink
Misc formatting and hide new feedback template picker
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Dec 2, 2024
1 parent e042089 commit 5fc0e7e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
</div>

<div class="col-12 mt-5">
<app-feedback-template-picker></app-feedback-template-picker>
<!-- <app-feedback-template-picker></app-feedback-template-picker> -->
<app-feedback-editor [feedbackTemplate]="game.feedbackTemplate"
(templateChange)="handleFeedbackTemplateChange($event || undefined)"></app-feedback-editor>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ export class GameCenterTeamsComponent implements OnInit {
return;
}


await this.handleDeployGameResources(eligibleTeams);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<div class="gameboard-performance-summary-component" *ngIf="ctx; else loading">
<div class="text-info card-text mb-2">
<div class="card-text mb-2">
<span
*ngIf="ctx.player.session && !ctx.player.session.isBefore && (ctx.player.session.isAfter || isCountdownOver)">
*ngIf="ctx.player.session && !ctx.player.session.isBefore && (ctx.player.session.isAfter || isCountdownOver)"
class="text-danger">
Game Over
</span>
<span *ngIf="ctx.player.session?.isDuring && !isCountdownOver">Time Remaining:
<span class="font-weight-bold" [class]="(countdown$ | async) || 0 | countdowncolor">
<span class="text-muted" *ngIf="ctx.player.session?.isDuring && !isCountdownOver">
Time Remaining:
<span class="fw-bold" [class]="(countdown$ | async) || 0 | countdowncolor">
{{ (countdown$ | async) || 0 | countdown }}
</span>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ export class GamePageComponent implements OnDestroy {
}

private showModal(resettingPlayerName?: string): void {
const resetInitiator = resettingPlayerName ? `your teammate "${resettingPlayerName}"` : "an administrator";
const resetInitiator = resettingPlayerName ? `your teammate **${resettingPlayerName}**` : "an **administrator**";

this.modalService.openConfirm({
title: "Session reset",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "../../../../scss/variables";

.jumbotron {
img {
max-height: 150px;
Expand Down Expand Up @@ -37,15 +39,15 @@
}

.countdown-green {
color: rgb(0, 191, 0);
color: $success;
}

.countdown-yellow {
color: rgb(236, 236, 130);
color: $warning;
}

.countdown-red {
color: rgb(255, 53, 53);
color: $danger;
}

// Uses a 16 : 10 ratio, but can be changed here
Expand Down

0 comments on commit 5fc0e7e

Please sign in to comment.