From e6fb05a6c8a2c1fdaa76c05c2624db0f4ef13a51 Mon Sep 17 00:00:00 2001 From: HungBacktracking <21120011@student.hcmus.edu.vn> Date: Fri, 8 Sep 2023 17:44:07 +0700 Subject: [PATCH] Add new ui for active-contest --- templates/contest/list.html | 78 ++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/templates/contest/list.html b/templates/contest/list.html index 7c63c44..89a9a84 100644 --- a/templates/contest/list.html +++ b/templates/contest/list.html @@ -233,45 +233,45 @@ {{ _('Active Contests') }}
{{ _('Contest') }} | -{{ _('Users') }} | - {% if not request.in_contest %} -- {% endif %} - |
---|---|---|
-
- {{ contest_head(contest) }}
- {% if contest.start_time %}
-
- - {% if contest.time_limit %} - - {% trans countdown=participation.end_time|as_countdown %}Window ends in {{countdown}}{% endtrans %} - - {% elif contest.time_before_end %} - {% trans countdown=contest.end_time|as_countdown %}Ends in {{countdown}}{% endtrans %} - {% endif %} - {{ time_left(contest) }} - {% endif %} - |
- - {{ user_count(contest, request.user) }} - | - {{ contest_join(contest, request) }} -