From 6de0b886a6cce3bb80cce39f1432144c4b0bd266 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 21 Oct 2022 12:37:08 +0200 Subject: [PATCH] Update --- web/src/routes/+page.svelte | 107 ++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 46 deletions(-) diff --git a/web/src/routes/+page.svelte b/web/src/routes/+page.svelte index f6015db..fafd118 100644 --- a/web/src/routes/+page.svelte +++ b/web/src/routes/+page.svelte @@ -1,5 +1,14 @@ + + sysinfo.gwei.cz + +
Overview of Gwei.cz servers and services
-
-

Servers

- - - - {#each serverCols as col} - - {/each} - - - - {#each spec.servers as item} - +{#if spec} +
+

Servers

+
{col.title}
+ + {#each serverCols as col} - + {/each} - {/each} - -
{@html typeof col.key === 'string' ? item[col.key] : col.key(item)}{col.title}
- -
- -
-

Services

- - - - {#each cols as col} - + + + {#each spec.servers as item} + + {#each serverCols as col} + + {/each} + {/each} - - - - {#each spec.services as service} - + +
{col.title}
{@html typeof col.key === 'string' ? item[col.key] : col.key(item)}
+ +
+ +
+

Services

+ + + {#each cols as col} - + {/each} - {/each} - -
{@html typeof col.key === 'string' ? service[col.key] : col.key(service)}{col.title}
-
+ + + {#each spec.services as service} + + {#each cols as col} + {@html typeof col.key === 'string' ? service[col.key] : col.key(service)} + {/each} + + {/each} + + + -
- Generated {spec.time} - | spec.json - | source code -
+
+ Generated {spec.time} + | api + | source code +
- + +{/if}