Change button for problem page
This commit is contained in:
parent
f5234dde56
commit
88c9d687d7
1 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue