Update linh tinh

This commit is contained in:
Le Van Duc 2023-11-24 10:38:51 +07:00
parent 9f35dfde9f
commit 07abfaed42
2 changed files with 11 additions and 11 deletions

View file

@ -797,7 +797,7 @@ ul.errorlist {
align-self: center !important; align-self: center !important;
} }
a { .a-problem {
font-size: 15px; font-size: 15px;
line-height: 1.8; line-height: 1.8;
font-weight: normal; font-weight: normal;

View file

@ -178,31 +178,31 @@
{% if request.user.is_authenticated and has_submissions %} {% if request.user.is_authenticated and has_submissions %}
<div> <div>
<a href="{{ url('user_submissions', problem.code, request.user.username) }}">{{ _('My submissions') }}</a> <a class="a-problem" href="{{ url('user_submissions', problem.code, request.user.username) }}">{{ _('My submissions') }}</a>
</div> </div>
{% endif %} {% endif %}
<div><a href="{{ url('chronological_submissions', problem.code) }}">{{ _('All submissions') }}</a></div> <div><a class="a-problem" href="{{ url('chronological_submissions', problem.code) }}">{{ _('All submissions') }}</a></div>
<div><a href="{{ url('ranked_submissions', problem.code) }}">{{ _('Best submissions') }}</a></div> <div><a class="a-problem" href="{{ url('ranked_submissions', problem.code) }}">{{ _('Best submissions') }}</a></div>
{% if editorial and editorial.is_public and {% if editorial and editorial.is_public and
not (request.user.is_authenticated and request.in_contest_mode) %} not (request.user.is_authenticated and request.in_contest_mode) %}
<hr> <hr>
<div><a href="{{ url('problem_editorial', problem.code) }}">{{ _('Read editorial') }}</a></div> <div><a class="a-problem" href="{{ url('problem_editorial', problem.code) }}">{{ _('Read editorial') }}</a></div>
{% endif %} {% endif %}
{% if can_edit_problem %} {% if can_edit_problem %}
<hr> <hr>
<div> <div>
<a href="{{ url('problem_ticket_list', problem.code) }}">{{ _('Manage tickets') }} <a class="a-problem" href="{{ url('problem_ticket_list', problem.code) }}">{{ _('Manage tickets') }}
{% if num_open_tickets %}<span class="badge">{{ num_open_tickets }}</span>{% endif %} {% if num_open_tickets %}<span class="badge">{{ num_open_tickets }}</span>{% endif %}
</a> </a>
</div> </div>
<div><a href="{{ url('admin:judge_problem_change', problem.id) }}">{{ _('Edit problem') }}</a></div> <div><a class="a-problem" href="{{ url('admin:judge_problem_change', problem.id) }}">{{ _('Edit problem') }}</a></div>
{% if not problem.is_manually_managed %} {% if not problem.is_manually_managed %}
<div><a href="{{ url('problem_data', problem.code) }}">{{ _('Edit test data') }}</a></div> <div><a class="a-problem" href="{{ url('problem_data', problem.code) }}">{{ _('Edit test data') }}</a></div>
{% endif %} {% endif %}
{% elif request.user.is_authenticated and has_tickets %} {% elif request.user.is_authenticated and has_tickets %}
<hr> <hr>
<div> <div>
<a href="{{ url('problem_ticket_list', problem.code) }}">{{ _('My tickets') }} <a class="a-problem" href="{{ url('problem_ticket_list', problem.code) }}">{{ _('My tickets') }}
{% if num_open_tickets %}<span class="badge">{{ num_open_tickets }}</span>{% endif %} {% if num_open_tickets %}<span class="badge">{{ num_open_tickets }}</span>{% endif %}
</a> </a>
</div> </div>
@ -210,13 +210,13 @@
{% if problem.is_subs_manageable_by(request.user) %} {% if problem.is_subs_manageable_by(request.user) %}
<div> <div>
<a href="{{ url('problem_manage_submissions', problem.code) }}">{{ _('Manage submissions') }}</a> <a class="a-problem" href="{{ url('problem_manage_submissions', problem.code) }}">{{ _('Manage submissions') }}</a>
</div> </div>
{% endif %} {% endif %}
{% if perms.judge.clone_problem %} {% if perms.judge.clone_problem %}
<div> <div>
<a href="{{ url('problem_clone', problem.code) }}">{{ _('Clone problem') }}</a> <a class="a-problem" href="{{ url('problem_clone', problem.code) }}">{{ _('Clone problem') }}</a>
</div> </div>
{% endif %} {% endif %}