From ee8b547a19bfa6c7ac386897def76ce06cfc30e9 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 19 Apr 2024 17:10:55 +0100 Subject: [PATCH] Add tooltip to version icons --- src/routes/more/versions/+page.svelte | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/routes/more/versions/+page.svelte b/src/routes/more/versions/+page.svelte index 9a94f98..7b3dd32 100644 --- a/src/routes/more/versions/+page.svelte +++ b/src/routes/more/versions/+page.svelte @@ -7,6 +7,7 @@ import { version, versionTag } from '$lib/stores/version'; import { getApiUrl } from '$lib/scripts/upstream'; import { IconBrandGolang, IconBrandJavascript, IconBrandNodejs, IconBrandPython, IconBrandSvelte, IconBrandTypescript, IconFileTypeSql } from '@tabler/icons-svelte'; + import Tooltip from '$lib/Tooltip.svelte'; const title = 'Versions'; async function getData() { @@ -25,7 +26,10 @@ {:then data}

-
+ + + +
Web-app version
{version}{#if versionTag}-{versionTag}{/if}

-
+ + + +
API Server version
{data?.backend || 'Unknown'}

-
+ +
DB Manager version
{data?.['db-manager'] || 'Unknown'}

-
+ +
MQ Client version
{data?.['mq-client'] || 'Not installed'}