diff --git a/src/routes/servers/[name]/+page.svelte b/src/routes/servers/[name]/+page.svelte index bd7a06c..1d4f44c 100644 --- a/src/routes/servers/[name]/+page.svelte +++ b/src/routes/servers/[name]/+page.svelte @@ -223,9 +223,13 @@
map {effectiveMap ?? '—'} - mode {gametypeLabel(effectiveGametype) || '—'} - status {effectiveHealth} - last seen {ago(effectiveSeen)} + {#if gametypeLabel(effectiveGametype)} + mode {gametypeLabel(effectiveGametype)} + {/if} + {#if effectiveHealth !== 'online'} + status {effectiveHealth} + last seen {ago(effectiveSeen)} + {/if}
@@ -385,53 +389,6 @@ {/if} - {#if effectiveSnippet || effectiveEndpoint} -
-
-

RCON reply

- {#if effectiveEndpoint} - - {/if} -
- -
-
-
endpoint
-
{effectiveEndpoint ? `${effectiveEndpoint.host}:${effectiveEndpoint.port}` : '—'}
-
-
-
players
-
{effectivePlayers ?? '—'}
-
-
-
map
-
{effectiveMap ?? '—'}
-
-
-
gametype
-
{effectiveGametype ?? '—'}
-
-
-
roster parsed
-
{effectiveRoster?.length ?? 0} row{(effectiveRoster?.length ?? 0) === 1 ? '' : 's'}
-
-
-
last seen
-
{ago(effectiveSeen)}
-
-
- - {#if effectiveSnippet} -
raw reply ({effectiveSnippet.split('\n').length} lines)
-
{effectiveSnippet}
- {:else} -
no reply captured yet — click probe rcon above
- {/if} -
- {/if} -

Roster

@@ -463,10 +420,12 @@
game_port
{server.game_port ?? '(unresolved)'}
-
-
held by beta
-
{server.held.length === 0 ? '—' : server.held.map((h) => h.target).join(', ')}
-
+ {#if server.held.length > 0} +
+
held by beta
+
{server.held.map((h) => h.target).join(', ')}
+
+ {/if}
@@ -827,38 +786,6 @@ border-radius: var(--r-sm); } - .rcon-hdr { - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 12px; - } - .rcon-hdr h2 { margin: 0; } - .parsed-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); - gap: 8px; - margin-bottom: 14px; - } - .raw-hdr { - font-family: var(--font-body); - font-size: 10px; - text-transform: uppercase; - letter-spacing: 1.2px; - color: var(--ink-500); - margin: 0 0 6px; - } - .raw-hdr.dim { - padding: 12px 14px; - text-transform: none; - letter-spacing: 0; - font-size: 12px; - background: var(--cherry-875); - border: 1px dashed var(--cherry-700); - border-radius: var(--r-sm); - } - .raw-hdr strong { color: var(--cream); } - .snippet-details { margin-top: 10px; font-family: var(--font-mono);