diff --git a/WebHostLib/static/styles/hostGame.css b/WebHostLib/static/styles/hostGame.css index 4bf5d073..e89b3786 100644 --- a/WebHostLib/static/styles/hostGame.css +++ b/WebHostLib/static/styles/hostGame.css @@ -31,14 +31,18 @@ #host-game-table{ margin-right: auto; - text-align: center + text-align: left; +} + +#host-game-table th{ + padding: 0; } #host-game-table td{ - padding-left: 20px; - padding-right: 20px; + padding: 6px 20px 0 0; } #host-game-table.dataTable{ width: unset; + } diff --git a/WebHostLib/templates/hostGame.html b/WebHostLib/templates/hostGame.html index 0dbb0d23..75aabe99 100644 --- a/WebHostLib/templates/hostGame.html +++ b/WebHostLib/templates/hostGame.html @@ -25,12 +25,16 @@ {% if rooms %} -
| Seed | Room | +Players | +Created (UTC) | +Last Activity (UTC) | +{{ room.seed.id|suuid }} | {{ room.id|suuid }} | +{{ room.seed.multidata.names[0]|length }} Total: + {{ room.seed.multidata.names[0]|join(", ")|truncate(256, False, " ...") }} | +{{ room.creation_time.strftime("%Y-%m-%d %H:%M") }} | +{{ room.last_activity.strftime("%Y-%m-%d %H:%M") }} | {% endfor %}
|---|