mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Clean up the aesthetics for the 'Pause CTF' and 'View After CTF' configs (#2250)
* Clean up the aesthetics for the 'Pause CTF' and 'View After CTF' configs * Closes #2128
This commit is contained in:
@@ -89,13 +89,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="form-check">
|
<label>
|
||||||
|
Pause<br>
|
||||||
|
<small class="form-text text-muted">
|
||||||
|
Prevent users from submitting answers until unpaused. Challenges can still be viewed.
|
||||||
|
</small>
|
||||||
|
</label>
|
||||||
|
<div class="form-check pl-0">
|
||||||
<label>
|
<label>
|
||||||
<input id="paused" name="paused" type="checkbox" {% if paused %}checked{% endif %}>
|
<input id="paused" name="paused" type="checkbox" {% if paused %}checked{% endif %}>
|
||||||
Pause CTF<br>
|
Pause CTF<br>
|
||||||
<small>
|
|
||||||
Prevent users from submitting answers until unpaused. Challenges can still be viewed.
|
|
||||||
</small>
|
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -119,12 +119,17 @@
|
|||||||
max="59" type='number'>
|
max="59" type='number'>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-check">
|
<div class="form-group col-md-12">
|
||||||
<label>
|
<div class="form-check pl-0">
|
||||||
<input id="view_after_ctf" name="view_after_ctf" type="checkbox"
|
<label>
|
||||||
{% if view_after_ctf %}checked{% endif %}>
|
<input id="view_after_ctf" name="view_after_ctf" type="checkbox" {% if view_after_ctf %}checked{% endif %}>
|
||||||
Allow challenges to be viewed (no submissions are recorded) after the CTF End Time.
|
View After CTF
|
||||||
</label>
|
<small class="form-text text-muted">
|
||||||
|
Allows challenges to be viewed after the End Time, however no new submissions will be recorded.<br>
|
||||||
|
For participants to be able to submit after End Time but not alter the scoreboard, configure Freeze Time to be your End Time.
|
||||||
|
</small>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group col-md-12">
|
<div class="form-group col-md-12">
|
||||||
|
|||||||
Reference in New Issue
Block a user