{# This file is part of INGInious. See the LICENSE and the COPYRIGHTS files for #} {# more information about the licensing of this file. #} {% extends "layout.html" %} {% block title %} {{ course.get_name(session.language) }} - Scoreboard {% endblock %} {% block navbar %} {% endblock %} {% block head %} {{ super() }} {% if end > end.now().astimezone() %} {% endif %} {% endblock %} {% block content %}

{{course.get_name(session.language)}} - Scoreboard

Contest starts: {{ show_time(start) }}
Contest ends: {{ show_time(end) }}
{% if start > start.now().astimezone() %} {% else %} {% if blackout != end %}
{% endif %} {% endif %}
{% if end > end.now().astimezone() %} The scoreboard will refresh every 30 seconds. {% endif %}
{% if start <= start.now().astimezone() %} {% for taskid in tasks %} {% endfor %} {% for username, data in results.items() %} {% for taskid in tasks %} {% if data['tasks'][taskid]['status'] == 'ACF' %} {% elif data['tasks'][taskid]['status'] == 'AC' %} {% elif data['tasks'][taskid]['status'] != 'NA' %} {% else %} {% endif %} {% endfor %} {% endfor %}
Rank Contestant Score{{taskid}}
{{data['displayed_rank']}} {{data['name']}} {{data['score'][0]}} {{ data['score'][1] | int }} {{data['tasks'][taskid]['tries']}}/{{ data['tasks'][taskid]['score'] | int }} {{data['tasks'][taskid]['tries']}}/{{ data['tasks'][taskid]['score'] | int }} {{data['tasks'][taskid]['tries']}} 0

Activity

{% for a in activity %} {% endfor %}
TimeContestantTaskResult
{{show_time(a['when'])}} {{a['user']}} {{a['taskid']}} {% if a['result'] %} Succeeded {% else %} Failed {% endif %}
{% else %}
Contest has not started yet.
{% endif %} {% endblock %}