Rewrite contest UI
This commit is contained in:
parent
6c9551e089
commit
756023a097
20 changed files with 191 additions and 254 deletions
|
@ -1,14 +1,11 @@
|
|||
{% extends "common-content.html" %}
|
||||
{% extends "two-column-content.html" %}
|
||||
{% set page_type = 'stats' %}
|
||||
|
||||
{% block title_ruler %}{% endblock %}
|
||||
|
||||
{% block title_row %}
|
||||
{% set tab = 'stats' %}
|
||||
{% set title = contest.name %}
|
||||
{% block left_sidebar %}
|
||||
{% include "contest/contest-tabs.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_js_media %}
|
||||
{% block two_col_js %}
|
||||
<script type="text/javascript">
|
||||
window.stats = {{ stats }};
|
||||
</script>
|
||||
|
@ -39,7 +36,7 @@
|
|||
{% include "contest/media-js.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content_media %}
|
||||
{% block two_col_media %}
|
||||
<style>
|
||||
.chart {
|
||||
margin: 10px 0;
|
||||
|
@ -47,7 +44,7 @@
|
|||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% block middle_content %}
|
||||
<h3>{{ _('Problem Status Distribution') }}</h3>
|
||||
<div id="problem-status-count" class="chart">
|
||||
<canvas></canvas>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue