From 3508cf21c7cabb9a75878c27569c41ed7b0b1303 Mon Sep 17 00:00:00 2001 From: Hussein Farran Date: Wed, 22 Dec 2021 20:15:56 -0500 Subject: [PATCH] WebHost: Add game listing for all players on room info page. --- WebHostLib/static/styles/hostRoom.css | 31 ++++++++++++++++ WebHostLib/templates/macros.html | 51 +++++++++++++++++++-------- WebHostLib/templates/userContent.html | 2 +- WebHostLib/upload.py | 9 ++++- 4 files changed, 76 insertions(+), 17 deletions(-) diff --git a/WebHostLib/static/styles/hostRoom.css b/WebHostLib/static/styles/hostRoom.css index bef8d147..cd1cf35b 100644 --- a/WebHostLib/static/styles/hostRoom.css +++ b/WebHostLib/static/styles/hostRoom.css @@ -18,3 +18,34 @@ border-radius: 3px; width: 500px; } + +#host-room table { + border-spacing: 0px; +} + +#host-room table tbody{ + background-color: #dce2bd; +} + +#host-room table tbody tr:hover{ + background-color: #e2eabb; +} + +#host-room table tbody td{ + padding: 4px 6px; + color: black; +} + +#host-room table tbody a{ + color: #234ae4; +} + +#host-room table thead td{ + background-color: #b0a77d; + color: black; + top: 0; +} + +#host-room table tbody td{ + border: 1px solid #bba967; +} diff --git a/WebHostLib/templates/macros.html b/WebHostLib/templates/macros.html index 37ca89ee..548d281c 100644 --- a/WebHostLib/templates/macros.html +++ b/WebHostLib/templates/macros.html @@ -8,22 +8,43 @@ {%- endmacro %} {% macro list_patches_room(room) %} {% if room.seed.slots %} -