diff --git a/template/src/oj/problem/my_submissions_list.html b/template/src/oj/problem/my_submissions_list.html new file mode 100644 index 0000000..3bf7ac5 --- /dev/null +++ b/template/src/oj/problem/my_submissions_list.html @@ -0,0 +1,52 @@ +{% extends 'oj_base.html' %} + +{% block body %} + + {% load submission %} +
+ + {% include "oj/problem/_problem_header.html" %} + {% if submissions %} + + + + + + + + + + + + {% for item in submissions %} + + + + + + + + {% endfor %} + + +
#提交时间语言运行时间结果
{{ forloop.counter }}{{ item.create_time }} + {{ item.language|translate_language }} + + {% if item.accepted_answer_time %} + {{ item.accepted_answer_time }}ms + {% else %} + -- + {% endif %} + + {{ item.result|translate_result }} +
+ {% else %} +

你还没有提交该题目

+ {% endif %} +
+{% endblock %} \ No newline at end of file