core&ui: contest: add print (#1036)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
undefinedandpanda authored and GitHub committed 2025-08-17 05:02:45 +01:00
1 parent 1c7b2275ff
commit 720eb6b7e0
13 files changed
+419 -6

No files matched your search

@@ -166,6 +166,14 @@
value:tdoc.allowViewCode|default(true),
row:false
}) }}
{{ form.form_checkbox({
columns:4,
label:'Allow Print',
name:'allowPrint',
placeholder:_('Allow user to print during contest'),
value:tdoc.allowPrint|default(false),
row:false
}) }}
<div style="display: none" class="contest-rule-settings contest-rule--acm contest-rule--ioi">
{{ form.form_text({
columns:4,