diff --git a/templates/base.html b/templates/base.html index 1ff2c39..d8d75b9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -17,6 +17,13 @@ {% block title %}{% endblock title %} | Virtual Judge + + +
diff --git a/templates/contests/detail.html b/templates/contests/detail.html index 4b74122..9ded3e8 100644 --- a/templates/contests/detail.html +++ b/templates/contests/detail.html @@ -32,7 +32,9 @@

Tasks

{% if problem.is_accessible %} - {{ problem }} + + {{ problem }} + {% else %} {{ problem }} {% endif %} @@ -49,7 +51,7 @@

Tasks

{% if problem.time_limit %} - {{ problem.time_limit}} + {{ problem.time_limit }} second{{ problem.time_limit|pluralize:"s" }} {% else %} Unlimited diff --git a/templates/problems/detail.html b/templates/problems/detail.html index ae91dbb..0966121 100644 --- a/templates/problems/detail.html +++ b/templates/problems/detail.html @@ -3,6 +3,37 @@ {% block title %}{{ problem.title }}{% endblock title %} {% block content %} -

{{ problem.title }}

-

{{ problem.description }}

+
+

+ + {{ problem.title }} + +

+
+ +
+

+ Score: {{ problem.score|default:"???" }} +

+

+ Memory limit: + {% if problem.memory_limit %} + {{ problem.memory_limit|filesizeformat }} + {% else %} + Unlimited + {% endif %} +

+

+ Time limit: + {% if problem.time_limit %} + {{ problem.time_limit }} + second{{ problem.time_limit|pluralize:"s" }} + {% else %} + Unlimited + {% endif %} +

+
+
+

{{ problem.description }}

+
{% endblock content %}