add changes
This commit is contained in:
@@ -25,11 +25,8 @@
|
||||
</div>
|
||||
|
||||
<div class="progress-container">
|
||||
<mat-progress-bar
|
||||
mode="determinate"
|
||||
[value]="progress()"
|
||||
[color]="progress() > 66 ? 'primary' : progress() > 33 ? 'accent' : 'warn'"
|
||||
></mat-progress-bar>
|
||||
<mat-progress-bar mode="determinate" [value]="progress()"
|
||||
[color]="progress() > 66 ? 'primary' : progress() > 33 ? 'accent' : 'warn'"></mat-progress-bar>
|
||||
<span class="progress-text">{{ progress() }}% Complete</span>
|
||||
</div>
|
||||
|
||||
@@ -76,32 +73,23 @@
|
||||
</div>
|
||||
|
||||
@if (session().score > 0) {
|
||||
<div class="current-score">
|
||||
<mat-icon>emoji_events</mat-icon>
|
||||
<span>Current Score: <strong>{{ session().score }} points</strong></span>
|
||||
</div>
|
||||
<div class="current-score">
|
||||
<mat-icon>emoji_events</mat-icon>
|
||||
<span>Current Score: <strong>{{ session().score }} points</strong></span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</mat-dialog-content>
|
||||
|
||||
<mat-dialog-actions align="end">
|
||||
<button
|
||||
mat-button
|
||||
(click)="startNewQuiz()"
|
||||
class="action-btn secondary"
|
||||
>
|
||||
<button mat-button (click)="startNewQuiz()" class="action-btn secondary">
|
||||
<mat-icon>add</mat-icon>
|
||||
Start New Quiz
|
||||
</button>
|
||||
<button
|
||||
mat-raised-button
|
||||
color="primary"
|
||||
(click)="resumeQuiz()"
|
||||
class="action-btn primary"
|
||||
>
|
||||
<button mat-raised-button color="primary" (click)="resumeQuiz()" class="action-btn primary">
|
||||
<mat-icon>play_arrow</mat-icon>
|
||||
Continue Quiz
|
||||
</button>
|
||||
</mat-dialog-actions>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user