Change button for problem page

This commit is contained in:
cuom1999 2022-08-20 11:25:56 -05:00
parent f5234dde56
commit 88c9d687d7

View file

@ -164,7 +164,7 @@
{% block info_float %} {% block info_float %}
{% if request.user.is_authenticated and request.in_contest_mode and submission_limit %} {% if request.user.is_authenticated and request.in_contest_mode and submission_limit %}
{% if submissions_left > 0 %} {% if submissions_left > 0 %}
<a href="{{ url('problem_submit', problem.code) }}" class="unselectable button full btn-green"> <a href="{{ url('problem_submit', problem.code) }}" class="unselectable button full btn-green small">
{{ _('Submit solution') }} {{ _('Submit solution') }}
</a> </a>
<div class="submissions-left"> <div class="submissions-left">
@ -175,11 +175,11 @@
{% endtrans %} {% endtrans %}
</div> </div>
{% else %} {% else %}
<a class="unselectable button full disabled">{{ _('Submit solution') }}</a> <a class="unselectable button full disabled small">{{ _('Submit solution') }}</a>
<div class="no-submissions-left submissions-left">{{ _('0 submissions left') }}</div> <div class="no-submissions-left submissions-left">{{ _('0 submissions left') }}</div>
{% endif %} {% endif %}
{% else %} {% else %}
<a href="{{ url('problem_submit', problem.code) }}" class="unselectable button full btn-green"> <a href="{{ url('problem_submit', problem.code) }}" class="unselectable button full btn-green small">
{{ _('Submit solution') }} {{ _('Submit solution') }}
</a> </a>
{% endif %} {% endif %}