diff --git a/WebHostLib/static/styles/hostRoom.css b/WebHostLib/static/styles/hostRoom.css index bef8d14776..cd1cf35b23 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 37ca89ee4d..548d281ced 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 %} -
| Id | +Name | +Game | +Download Link | +Tracker Page | +
| {{ patch.player_id }} | +{{ patch.player_name }} | +{{ patch.game }} | ++ {% if patch.game == "Minecraft" %} + + Download APMC File... + {% elif patch.game == "Factorio" %} + + Download Factorio Mod... + {% elif patch.game == "Ocarina of Time" %} + + Download APZ5 File... + {% elif patch.game in ["A Link to the Past", "Secret of Evermore", "Super Metroid"] %} + + Download Patch File... + {% else %} + No file to download for this game. + {% endif %} + | +Tracker | +