|
6 | 6 | <h2 class="text-ellipses">{{contest.name}}</h2>
|
7 | 7 | <div class="hoverable ml-3">
|
8 | 8 | <i class="fas fa-info-circle round orange font-md pulse-red"></i>
|
9 |
| - <div class="pop-up"> |
| 9 | + <div class="pop-up w-350x"> |
10 | 10 | <div class="test-info-popup border-card bg-grey black">
|
11 | 11 | Note:
|
12 | 12 | <ul class="bold">
|
|
20 | 20 | </li>
|
21 | 21 | {{#if contest.disallowTabSwitch}}
|
22 | 22 | <li>
|
23 |
| - Tab Switching Prohibited <span class="red">You will get a penalty of 10 mins in case you switch tab after 3 faults.</span> |
| 23 | + Tab Switching Prohibited <span class="red">You will get a penalty of {{contest.tabSwitchPenalty}} mins in case you switch tab after 3 faults.</span> |
24 | 24 | </li>
|
25 | 25 | {{/if}}
|
26 | 26 | {{#if contest.disallowWindowResize}}
|
27 | 27 | <li>
|
28 |
| - Window Resizing Prohibited <span class="red">You will get a penalty of 10 mins every 10 secs if your window is not fullscreen.</span> |
| 28 | + Window Resizing Prohibited <span class="red">You will get a penalty of {{contest.windowResizePenalty}} mins every 10 secs if your window is not fullscreen.</span> |
| 29 | + </li> |
| 30 | + {{/if}} |
| 31 | + {{#if contest.disallowWindowMove}} |
| 32 | + <li> |
| 33 | + Window Movement Prohibited <span class="red">You will get a penalty of {{contest.windowMovePenalty}} mins every 10 secs if your window is not fullscreen.</span> |
29 | 34 | </li>
|
30 | 35 | {{/if}}
|
31 | 36 | {{#if contest.disallowNoFace}}
|
32 | 37 | <li>
|
33 |
| - Face Detection Enabled <span class="red">You will get a penalty of 10 mins every 5 secs if your face is not visible in camera after 3 faults.</span> |
| 38 | + Face Detection Enabled <span class="red">You will get a penalty of {{contest.noFacePenalty}} mins every 5 secs if your face is not visible in camera after 3 faults.</span> |
34 | 39 | </li>
|
35 | 40 | {{/if}}
|
36 | 41 | {{#if contest.disallowMultipleFaces}}
|
37 | 42 | <li>
|
38 |
| - Multiple Face Detection Enabled <span class="red">You will get a penalty of 10 mins every 5 secs if multiple faces are visible in camera after 3 faults.</span> |
| 43 | + Multiple Face Detection Enabled <span class="red">You will get a penalty of {{contest.multipleFacesPenalty}} mins every 5 secs if multiple faces are visible in camera after 3 faults.</span> |
39 | 44 | </li>
|
40 | 45 | {{/if}}
|
41 | 46 | </ul>
|
|
77 | 82 | {{#if (or attempt.tabSwitchCount attempt.windowResizeCount attempt.noFaceCount attempt.multipleFacesCount)}}
|
78 | 83 | <div class="hoverable pill-sm bg-gradient-pink pulse-red mt-3 py-1 px-2">
|
79 | 84 | <span class="font-xxs">Penalties</span>
|
80 |
| - <div class="border-card border-dark-pink pop-up w-250x pt-2 px-3"> |
| 85 | + <div class="border-card border-dark-pink pop-up w-350x l-center pt-2 px-3"> |
81 | 86 | <div class="font-xxs mt-2 red">
|
82 | 87 | {{#if contest.disallowTabSwitch}}
|
83 | 88 | Total Tab Switches: {{or attempt.tabSwitchCount 0}} | {{or attempt.tabSwitchTimePenaltyMinutes 0}} mins deducted
|
|
87 | 92 | Total Window Resizes: {{or attempt.windowResizeCount 0}} | {{or attempt.windowResizeTimePenaltyMinutes 0}} mins deducted
|
88 | 93 | {{/if}}
|
89 | 94 | <br>
|
| 95 | + {{#if contest.disallowWindowMove}} |
| 96 | + Total Window Moves: {{or attempt.windowMoveCount 0}} | {{or attempt.windowMoveTimePenaltyMinutes 0}} mins deducted |
| 97 | + {{/if}} |
| 98 | + <br> |
90 | 99 | {{#if contest.disallowNoFace}}
|
91 | 100 | Total Face Undetected: {{or attempt.noFaceCount 0}} | {{or attempt.noFaceTimePenaltyMinutes 0}} mins deducted
|
92 | 101 | {{/if}}
|
|
0 commit comments