checkers
This commit is contained in:
@@ -45,4 +45,22 @@
|
||||
<pre><code class="{{ entity.highlight }}" style="border: 1px solid black;">{{ entity.text }}</code></pre>
|
||||
<hr>
|
||||
{% endfor %}
|
||||
|
||||
{% if solution.task.creator == user or user.username in solution.task.editors or solution.set and solution.set.creator == user or solution.set and user.username in solution.set.editors %}
|
||||
<h4>Лог тестрования</h4>
|
||||
{% for key, value in solution.extras.items %}
|
||||
<h5>{{ key }}</h5>
|
||||
Затраченное время: {{ value.time_spent }} мс
|
||||
<div class="row">
|
||||
<div class="col-2"></div>
|
||||
<div class="col-2" style="background-color: #DDDDDD;">
|
||||
{{ value.predicted }}
|
||||
</div>
|
||||
<div class="col-4"></div>
|
||||
<div class="col-2" style="background-color: #DDDDDD;">
|
||||
{{ value.output }}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user