From f49502985662639d00807aa75396b93e29f0aeed Mon Sep 17 00:00:00 2001 From: Walter Date: Mon, 24 Feb 2025 10:30:50 +0100 Subject: [PATCH] Added userid to profilebox --- .../static/bloonsa_game/css/profilebox.css | 14 +++++++++++--- .../templates/bloonsa_game/modules/profilebox.html | 7 ++++++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/app/bloonsa_game/static/bloonsa_game/css/profilebox.css b/app/bloonsa_game/static/bloonsa_game/css/profilebox.css index 5bbf6ed..37ab17f 100644 --- a/app/bloonsa_game/static/bloonsa_game/css/profilebox.css +++ b/app/bloonsa_game/static/bloonsa_game/css/profilebox.css @@ -27,10 +27,18 @@ flex-direction: column; } -#profile-username { - font-size: 16px; +#profile-player { white-space: nowrap; - text-align: center; + text-align: left; + font-size: 16px; +} + +#profile-username { + margin-left: 22px; +} + +#profile-id { + color: #d6b82f; } #profile-plays, #profile-clears { diff --git a/app/bloonsa_game/templates/bloonsa_game/modules/profilebox.html b/app/bloonsa_game/templates/bloonsa_game/modules/profilebox.html index d3574e4..506f809 100644 --- a/app/bloonsa_game/templates/bloonsa_game/modules/profilebox.html +++ b/app/bloonsa_game/templates/bloonsa_game/modules/profilebox.html @@ -9,7 +9,12 @@
-
{{ user }}
+
+ {{ user }} + + <{{ user.player.id|add:"1"}}> +
+