diff --git a/web/templates/panel/player_detail.html b/web/templates/panel/player_detail.html index 9aed45a..a2fb5d5 100644 --- a/web/templates/panel/player_detail.html +++ b/web/templates/panel/player_detail.html @@ -8,7 +8,8 @@
{{ player.username }} + class="rounded mb-3" alt="{{ player.username }}" + onerror="this.onerror=null;this.src='data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'80\' height=\'80\' viewBox=\'0 0 80 80\'%3E%3Crect width=\'80\' height=\'80\' rx=\'8\' fill=\'%23374151\'/%3E%3Ctext x=\'50%25\' y=\'54%25\' text-anchor=\'middle\' dominant-baseline=\'middle\' font-size=\'36\' font-family=\'monospace\' fill=\'%239ca3af\'%3E%3F%3C/text%3E%3C/svg%3E'">
{{ player.username }}
{% if player.is_op %} OP diff --git a/web/templates/player_detail.html b/web/templates/player_detail.html index 872e735..44c45ec 100644 --- a/web/templates/player_detail.html +++ b/web/templates/player_detail.html @@ -9,7 +9,8 @@
{{ player.username }} + class="rounded mb-3" alt="{{ player.username }}" + onerror="this.onerror=null;this.src='data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'80\' height=\'80\' viewBox=\'0 0 80 80\'%3E%3Crect width=\'80\' height=\'80\' rx=\'8\' fill=\'%23374151\'/%3E%3Ctext x=\'50%25\' y=\'54%25\' text-anchor=\'middle\' dominant-baseline=\'middle\' font-size=\'36\' font-family=\'monospace\' fill=\'%239ca3af\'%3E%3F%3C/text%3E%3C/svg%3E'">
{{ player.username }}
{% if player.is_op %} OP