{% include 'titles/diva/templates/diva_header.jinja' %}
{% if playlog is defined and playlog is not none %}
Score counts: {{ playlog_count }}
{% set difficultyName = ['easy', 'normal', 'hard', 'extreme', 'extra extreme'] %}
{% set clearState = ['MISSxTAKE', 'STANDARD', 'GREAT', 'EXELLENT', 'PERFECT'] %}
{% for record in playlog %}
{{ record.title }}
{{ record.vocaloid_arranger }}
{{record.raw.date_scored}}
{{ record.raw.score }}
{{ record.raw.atn_pnt / 100 }}%
{{ difficultyName[record.raw.difficulty] }}
COOL
{{ record.raw.cool }}
FINE
{{ record.raw.fine }}
SAFE
{{ record.raw.safe }}
SAD
{{ record.raw.sad }}
WORST
{{ record.raw.worst }}
{{ record.raw.max_combo }}
{% if record.raw.clr_kind == -1 %}
{{ clearState[0] }}
{% elif record.raw.clr_kind == 2 %}
{{ clearState[1] }}
{% elif record.raw.clr_kind == 3 %}
{{ clearState[2] }}
{% elif record.raw.clr_kind == 4 %}
{{ clearState[3] }}
{% elif record.raw.clr_kind == 5 %}
{{ clearState[4] }}
{% endif %}
{% if record.raw.clr_kind == -1 %}
NOT CLEAR
{% else %}
CLEAR
{% endif %}
{% endfor %}
{% set playlog_pages = playlog_count // 20 + 1 %}
{% elif sesh is defined and sesh is not none and sesh.user_id > 0 %}
No Score information found for this account.
{% else %}
Login to view profile information.
{% endif %}