Cloned DMOJ

This commit is contained in:
thanhluong 2020-01-21 15:35:58 +09:00
parent f623974b58
commit 49dc9ff10c
513 changed files with 132349 additions and 39 deletions

View file

@ -0,0 +1,20 @@
{% extends "admin/change_form.html" %}
{% load i18n %}
{% block extrahead %}{{ block.super }}
<script>
django.jQuery(function ($) {
$('.rejudgelink').appendTo('div#bottombar').show();
});
</script>
{% endblock extrahead %}
{% block after_field_sets %}{{ block.super }}
{% if original %}
<a style="display: none" title="{% trans "Rejudge" %}" href="{% url 'admin:judge_submission_rejudge' original.pk %}"
class="button rejudgelink">
<i class="fa fa-lg fa-refresh"></i>
<span class="text">{% trans "Rejudge" %}</span>
</a>
{% endif %}
{% endblock %}