From 4828da324e2b1d72e7791657109960620c2051fa Mon Sep 17 00:00:00 2001 From: zediious Date: Sat, 22 Jun 2024 20:44:31 -0400 Subject: [PATCH 1/3] Correctly place comman after all but last player name --- raptorWeb/templates/gameservers/player_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raptorWeb/templates/gameservers/player_list.html b/raptorWeb/templates/gameservers/player_list.html index b8c54ce7..aee3e946 100644 --- a/raptorWeb/templates/gameservers/player_list.html +++ b/raptorWeb/templates/gameservers/player_list.html @@ -16,7 +16,7 @@
{{ server.modpack_na {% for player in object_list %} {% if player.server == server %} - {{ player.name }}{% if forloop.counter0 != 0 %},{% endif %} + {{ player.name }}{% if not forloop.last %},{% endif %} {% endif %} {% endfor %} From 89cd69dcf0f05699e445130b9d6db0413cd39fbf Mon Sep 17 00:00:00 2001 From: zediious Date: Sat, 22 Jun 2024 21:04:27 -0400 Subject: [PATCH 2/3] Loading spinner in modal while request running Rather than an empty modal, show a loading spinner in the player name modal while the request is running. The content will fill the modal while it is open. Modal has also been made slightly wider --- .../raptormc/components/serverbox.html | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/raptorWeb/templates/raptormc/components/serverbox.html b/raptorWeb/templates/raptormc/components/serverbox.html index 37969bbe..0f7e6907 100644 --- a/raptorWeb/templates/raptormc/components/serverbox.html +++ b/raptorWeb/templates/raptormc/components/serverbox.html @@ -15,31 +15,19 @@ {% if server_query_enabled %}