From 9e95ebff13381c321e65c008a82f7b4e567efaf6 Mon Sep 17 00:00:00 2001 From: zkwolf Date: Wed, 15 May 2024 21:09:31 +0200 Subject: [PATCH] Making HTML look good ^^ --- src/templates/debug/anon_matchmaking.html | 122 +++++++++++++++------ src/templates/debug/matchmaking.html | 123 ++++++++++++++++------ src/templates/index.html | 29 ++++- 3 files changed, 208 insertions(+), 66 deletions(-) diff --git a/src/templates/debug/anon_matchmaking.html b/src/templates/debug/anon_matchmaking.html index 4bc553c..b705d83 100644 --- a/src/templates/debug/anon_matchmaking.html +++ b/src/templates/debug/anon_matchmaking.html @@ -5,15 +5,37 @@ Matchmaking Debug @@ -56,35 +104,47 @@ -

Matchmaking Debug Information

-

Length of Queue: {{ len_queue }}

-

Killed Lobbies: {{ len_killed_lobbies }}

-

Queued Runners: {{ len_queued_runners }}

-

Queued Hunters: {{ len_queued_hunters }}

-

Open Lobbies: {{ len_open_lobbies }}

+
+

Matchmaking Debug Information

-

Lobby Data

- - - - - - - - {% for lobby in lobby_data %} - - - - - - - {% endfor %} -
Lobby IDHuntersRunnersStatus
{{ lobby.id }}1 -
    - {% for runner in lobby.nonHosts %} -
  • {{ runner.userId }}
  • - {% endfor %} -
-
{{ lobby.status }}
+
+
+

Length of Queue
{{ len_queue }}

+

Open Lobbies
{{ len_open_lobbies }}

+

Killed Lobbies
{{ len_killed_lobbies }}

+
+
+

Queued Hunters
{{ len_queued_hunters }}

+

Queued Runners
{{ len_queued_runners }}

+
+
+
+
+

Lobby Data

+
+ + + + + + + + {% for lobby in lobby_data %} + + + + + + + {% endfor %} +
Lobby IDHuntersRunnersStatus
{{ lobby.id }}1 +
    + {% for runner in lobby.nonHosts %} +
  • {{ runner.userId }}
  • + {% endfor %} +
+
{{ lobby.status }}
+
+
- + \ No newline at end of file diff --git a/src/templates/debug/matchmaking.html b/src/templates/debug/matchmaking.html index dbe5e9b..cb64ba4 100644 --- a/src/templates/debug/matchmaking.html +++ b/src/templates/debug/matchmaking.html @@ -5,15 +5,37 @@ Matchmaking Debug @@ -56,35 +104,48 @@ -

Matchmaking Debug Information

-

Length of Queue: {{ len_queue }}

-

Killed Lobbies: {{ len_killed_lobbies }}

-

Queued Runners: {{ len_queued_runners }}

-

Queued Hunters: {{ len_queued_hunters }}

-

Open Lobbies: {{ len_open_lobbies }}

-

Lobby Data

- - - - - - - - {% for lobby in lobby_data %} - - - - - - - {% endfor %} -
Lobby IDHuntersRunnersStatus
{{ lobby.id }}{{ lobby.host }} -
    - {% for runner in lobby.nonHosts %} -
  • {{ runner.userId }}
  • - {% endfor %} -
-
{{ lobby.status }}
+
+

Matchmaking Debug Information

+ +
+
+

Length of Queue
{{ len_queue }}

+

Open Lobbies
{{ len_open_lobbies }}

+

Killed Lobbies
{{ len_killed_lobbies }}

+
+
+

Queued Hunters
{{ len_queued_hunters }}

+

Queued Runners
{{ len_queued_runners }}

+
+
+
+
+

Lobby Data

+
+ + + + + + + + {% for lobby in lobby_data %} + + + + + + + {% endfor %} +
Lobby IDHuntersRunnersStatus
{{ lobby.id }}{{ lobby.host }} +
    + {% for runner in lobby.nonHosts %} +
  • {{ runner.userId }}
  • + {% endfor %} +
+
{{ lobby.status }}
+
+
- + \ No newline at end of file diff --git a/src/templates/index.html b/src/templates/index.html index 3394d22..871e09a 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -1,8 +1,4 @@ - Deathgarden Bloodharvest REBIRTH API @@ -13,12 +9,37 @@ +

Welcome to the Deathgarden Bloodharvest Testing API.

For more information please visit its GitHub Repository.

+

+Match Status