{% extends "OpenBench/base.html" %} {% load static %} {% block scripts %} {% endblock %} {% block page_head %}
{{ back_label }}

Event #{{ event.id }}

{{ event.summary|default:"No summary" }}

{% if kind != 'empty' %}
{% endif %} {% endblock %} {% block content %}
Type
{{ event.summary|default:"Event" }}
When
{{ event.created|date:'U' }}
User
{% if event.author %}{{ event.author|capfirst }}{% else %}—{% endif %}
Machine
{% if event.machine_id %}#{{ event.machine_id }}{% else %}—{% endif %}
Test
{% if event.test_id %}#{{ event.test_id }}{% else %}—{% endif %}
{% if kind == 'pgn' %}

Game

{{ game.ply_count }} plies
{{ game.white }} White
{{ game.result }}
{{ game.black }} Black
{% if game.termination or game.final_note %}
{{ game.termination|default:event.summary }} {% if game.final_note %}{{ game.final_note }}{% endif %}
{% endif %}
{% if game.time_control %}
Time control
{{ game.time_control }}
{% endif %} {% if game.date %}
Date
{{ game.date }}
{% endif %} {% if game.duration %}
Duration
{{ game.duration }}
{% endif %} {% if game.chess960 %}
Variant
Chess960
{% endif %} {% if game.fen %}
Start FEN
{{ game.fen }}
{% endif %}
{% if game.headers %}
All PGN headers ({{ game.headers|length }}) {% for key, value in game.headers %} {% endfor %}
{{ key }}{{ value }}
{% endif %}
{% if game.rows %}

Board

{% if game.chess960 %}Chess960{% endif %}
{{ game.black }}
{{ game.white }}

 

FEN

Moves

{{ game.ply_count }}
–
Eval–
Depth–
Time–
{% for row in game.rows %}
{{ row.num }}. {% if row.w %} {% else %} … {% endif %} {% if row.b %} {% else %} {% endif %}
{% endfor %}
← → step Space play F flip

Evaluation

{% else %}

This game has no moves recorded.

{% endif %} {{ moves_json|json_script:"ev-moves" }} {{ game_json|json_script:"ev-game" }} {% elif kind == 'log' %}

Log

{{ log.total }} lines {% if log.errors %}{{ log.errors }} error{{ log.errors|pluralize }}{% endif %} {% if log.warnings %}{{ log.warnings }} warning{{ log.warnings|pluralize }}{% endif %}
{% if log.skipped %}
Showing the last {{ log.lines|length }} of {{ log.total }} lines. Download has the full log.
{% endif %}
{% for line in log.lines %}
{{ line.n }}{{ line.text }}
{% endfor %}
{% else %}

No log was attached to this event.

{% endif %} {% if kind != 'empty' %}{{ content|json_script:"ev-raw" }}{% endif %} {% endblock %}