@if (loading()) {
} @else if (error() && !quiz()) {
} @else if (submitted()) {
check_circle
Quiz Submitted!
Redirecting to dashboard...
} @else if (quiz() && currentQuestion()) {
business_center
Hire Guru
{{ quiz().title }}
Online Assessment · {{ questions().length }} Questions
@if (violationCount() > 0) {
= getMaxViolations() - 1"
title="Violations detected. {{ getMaxViolations() - violationCount() }} warning(s) remaining.">
warning
{{ violationCount() }}/{{ getMaxViolations() }}
}
{{ isFullscreen() ? 'fullscreen' : 'fullscreen_exit' }}
= 60" [class.danger]="timeLeft() < 60">
timer
{{ formattedTime() }}
{{ currentQuestion().question }}
@for (option of currentQuestion().options; track option; let i = $index) {
}
@if (currentIndex() < questions().length - 1) {
} @else {
}
}
@if (showWarningModal() && currentWarning()) {
{{ currentWarning()!.isAutoSubmit ? 'block' : 'warning' }}
{{ currentWarning()!.title }}
{{ currentWarning()!.message }}
@if (!currentWarning()!.isAutoSubmit) {
@for (i of [1,2,3]; track i) {
}
{{ currentWarning()!.violationCount }}/{{ getMaxViolations() }} violations
}
@if (!currentWarning()!.isAutoSubmit) {
⚠️ Exiting fullscreen or switching tabs again will count as another violation.
} @else {
}
}