From 8cd0b8ca1f79cdcb5f81c8256939d8935280f4d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Sat, 30 Aug 2025 00:17:14 +0200 Subject: [PATCH] Refactor game list layout to enhance usability and improve visual presentation --- templates/twitch/game_list.html | 73 ++++++++++++++++++++++++--------- 1 file changed, 54 insertions(+), 19 deletions(-) diff --git a/templates/twitch/game_list.html b/templates/twitch/game_list.html index 4f8fa55..95607c8 100644 --- a/templates/twitch/game_list.html +++ b/templates/twitch/game_list.html @@ -3,23 +3,58 @@ Games {% endblock title %} {% block content %} -

Games

- {% if games_by_org %} - {% for organization, games in games_by_org.items %} -

{{ organization.name }}

- - - {% for item in games %} - - - - {% endfor %} - -
- {{ item.game.display_name }} -
- {% endfor %} - {% else %} - No games found. - {% endif %} +
+
+

Games

+

Browse all available games

+
+ {% if games_by_org %} + {% for organization, games in games_by_org.items %} +
+

{{ organization.name }}

+
+ {% for item in games %} +
+
+ {% if item.game.box_art_base_url %} + Box art for {{ item.game.display_name }} + {% else %} +
+ 🎮 +
+ No Image +
+ {% endif %} +
+ +
+ {% endfor %} +
+
+ {% endfor %} + {% else %} +
+
🎮
+

No Games Found

+

No games are currently available.

+
+ {% endif %} +
{% endblock content %}