Skip to content

Commit

Permalink
fix: warning numbers of monitorer
Browse files Browse the repository at this point in the history
  • Loading branch information
vdvibhu20 committed Jun 24, 2024
1 parent 87e013e commit 7e8ec7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/pods/components/intermediate-contest-view/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
{{#if (or contest.disallowTabSwitch contest.disallowWindowResize contest.disallowNoFace)}}
<div class="border-card bg-gradient-pink border-none text-white p-4 mt-4">
{{#if contest.disallowTabSwitch}}
<i class="fas fa-info-circle font-sm"></i> Tab Switching is prohibited on this contest. You will face a penalty of {{contest.tabSwitchPentalty}} mins after 3 faults in case you :-
<i class="fas fa-info-circle font-sm"></i> Tab Switching is prohibited on this contest. You will face a penalty of {{contest.tabSwitchPenalty}} mins after {{contest.allowedTabSwitchesNumber}} faults in case you :-
<ul>
<li>&#8226; Switch the current tab</li>
<li>&#8226; Minimize the browser or switch to any other application</li>
Expand All @@ -112,13 +112,13 @@
</ul>
{{/if}}
{{#if contest.disallowNoFace}}
<i class="fas fa-info-circle font-sm"></i> Face detection is enabled on this contest. You will face a penalty of {{contest.noFacePenalty}} mins every 5 secs after 3 faults in case :-
<i class="fas fa-info-circle font-sm"></i> Face detection is enabled on this contest. You will face a penalty of {{contest.noFacePenalty}} mins every 5 secs after {{contest.allowedNoFacesNumber}} faults in case :-
<ul>
<li>&#8226; Your face is not visible in camera.</li>
</ul>
{{/if}}
{{#if contest.disallowMultipleFaces}}
<i class="fas fa-info-circle font-sm"></i> Multiple face detection is enabled on this contest. You will face a penalty of {{contest.multipleFacesPenalty}} mins every 5 secs after 3 faults in case :-
<i class="fas fa-info-circle font-sm"></i> Multiple face detection is enabled on this contest. You will face a penalty of {{contest.multipleFacesPenalty}} mins every 5 secs after {{contest.allowedMultipleFacesNumber}} faults in case :-
<ul>
<li>&#8226; More than 1 face is visible in camera.</li>
</ul>
Expand Down

0 comments on commit 7e8ec7c

Please sign in to comment.