diff --git a/template/src/oj/group/group_list.html b/template/src/oj/group/group_list.html index d538fea6..247b07ff 100644 --- a/template/src/oj/group/group_list.html +++ b/template/src/oj/group/group_list.html @@ -1,10 +1,83 @@ - - - - - - - +{% extends "oj_base.html" %} +{% block body %} + {% load problem %} +
+
+
+
+
+
+
+ + +
+
+
+
+
+ + + + + + + + + + + + {% for item in problems %} + + + + + + + + {% endfor %} + +
#题目难度通过率
{{ item.id }}{{ item.title }}{{ item.difficulty }}{{ item|accepted_radio }}
+ +
+
- - \ No newline at end of file +
+ {% include "oj/announcement/_announcement_panel.html" %} +
+
+

+ + 分类 +

+
+
    + {% for item in tags %} +
  • + {{ item.problem_number }} + {{ item.name }} +
  • + {% endfor %} +
+
+ +
+
+
+{% endblock %} + +{% block js_block %} + +{% endblock %} \ No newline at end of file diff --git a/template/src/oj/problem/my_submissions_list.html b/template/src/oj/problem/my_submissions_list.html index 03d7e8c1..3bf7ac5f 100644 --- a/template/src/oj/problem/my_submissions_list.html +++ b/template/src/oj/problem/my_submissions_list.html @@ -17,17 +17,19 @@ # 提交时间 - 结果 - 运行时间 语言 + 运行时间 + 结果 {% for item in submissions %} - + {{ forloop.counter }} {{ item.create_time }} - {{ item.result|translate_result }} + + {{ item.language|translate_language }} + {% if item.accepted_answer_time %} {{ item.accepted_answer_time }}ms @@ -35,8 +37,8 @@ -- {% endif %} - - {{ item.language|translate_language }} + + {{ item.result|translate_result }} {% endfor %} diff --git a/template/src/oj/submission/my_submissions_list.html b/template/src/oj/submission/my_submissions_list.html index e048ab90..d3c0844f 100644 --- a/template/src/oj/submission/my_submissions_list.html +++ b/template/src/oj/submission/my_submissions_list.html @@ -5,47 +5,55 @@ {% load submission %}
- +
- - {% for item in submissions %} - + - + - + {% endfor %}
# 提交时间 + + 运行时间 + +
{{ forloop.counter |add:start_id }} {{ item.create_time }}{{ item.result|translate_result }} + {{ item.language|translate_language }} + {% if item.accepted_answer_time %} {{ item.accepted_answer_time }}ms @@ -53,9 +61,10 @@ -- {% endif %} - {{ item.language|translate_language }} + + {{ item.result|translate_result }}