From f970d11d676273c51edfcc801616b5fc49116ec6 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Fri, 22 Dec 2023 01:22:05 -0600 Subject: [PATCH] Modify problem submit button --- templates/problem/problem.html | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/templates/problem/problem.html b/templates/problem/problem.html index a55a8a2..dfe71aa 100644 --- a/templates/problem/problem.html +++ b/templates/problem/problem.html @@ -52,11 +52,6 @@ {% endblock %} {% block content_js_media %} - {% include "comments/media-js.html" %} {% include "actionbar/media-js.html" %} {% if request.in_contest_mode %} @@ -146,12 +141,14 @@ {% block info_float %} {% if request.user.is_authenticated and request.in_contest_mode and submission_limit %} {% if submissions_left > 0 %} - + + +
{% trans trimmed counter=submissions_left %} {{ counter }} submission left @@ -169,12 +166,14 @@
{{ _('0 submissions left') }}
{% endif %} {% else %} - + + + {% endif %}