{% extends "base.html" %} {% block content %} {% if summary_stats %}
| Map | Matches | Win Rate |
|---|---|---|
| {{ stat.label }} | {{ stat.count }} |
{{ "%.1f"|format(stat.win_rate) }}%
|
| 时间 | 地图 | 比分 | ELO | Party | 时长 | 操作 |
|---|---|---|---|---|---|---|
| {{ match.map_name }} |
{{ match.score_team1 }}
{% if match.winner_team == 1 %}
{% endif %}
-
{{ match.score_team2 }}
{% if match.winner_team == 2 %}
{% endif %}
{% if match.our_result %}
{% if match.our_result == 'win' %}
VICTORY
{% elif match.our_result == 'loss' %}
DEFEAT
{% elif match.our_result == 'mixed' %}
CIVIL WAR
{% endif %}
{% endif %}
|
{% if match.avg_elo and match.avg_elo > 0 %} {{ "%.0f"|format(match.avg_elo) }} {% else %} - {% endif %} | {% if match.max_party and match.max_party > 1 %} {% set p = match.max_party %} {% set party_class = 'bg-gray-100 text-gray-800' %} {% if p == 2 %} {% set party_class = 'bg-indigo-100 text-indigo-800 border border-indigo-200' %} {% elif p == 3 %} {% set party_class = 'bg-blue-100 text-blue-800 border border-blue-200' %} {% elif p == 4 %} {% set party_class = 'bg-purple-100 text-purple-800 border border-purple-200' %} {% elif p >= 5 %} {% set party_class = 'bg-orange-100 text-orange-800 border border-orange-200' %} {% endif %} 👥 {{ match.max_party }} {% else %} Solo {% endif %} | {{ (match.duration / 60) | int }} min | 详情 |