From 6740030a0c133e2859fd4a972d75c2d7ccb6a065 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Fri, 17 Nov 2023 13:23:26 +0100 Subject: [PATCH] Small improvements --- src/app.html | 1 - src/lib/locales/en.json | 3 ++- src/lib/locales/es.json | 3 ++- src/lib/style/app.scss | 2 ++ src/routes/Control.svelte | 2 +- src/routes/Status.svelte | 12 +++++++----- static/favicon.png | Bin 1571 -> 0 bytes 7 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 static/favicon.png diff --git a/src/app.html b/src/app.html index 77a5ff5..f273cc5 100644 --- a/src/app.html +++ b/src/app.html @@ -2,7 +2,6 @@ - %sveltekit.head% diff --git a/src/lib/locales/en.json b/src/lib/locales/en.json index 2c8dc8b..a32b77b 100644 --- a/src/lib/locales/en.json +++ b/src/lib/locales/en.json @@ -31,7 +31,8 @@ "setColor": "Set color", "showText": "Show text", "text": "Text", - "title": "Control" + "title": "Control", + "hostname": "Hostname" }, "status": { "title": "Status", diff --git a/src/lib/locales/es.json b/src/lib/locales/es.json index bf534b8..ace51cf 100644 --- a/src/lib/locales/es.json +++ b/src/lib/locales/es.json @@ -31,7 +31,8 @@ "showText": "Poner texto", "text": "Texto", "title": "Control", - "buildTime": "Tiempo de construcción" + "buildTime": "Tiempo de construcción", + "hostname": "Nombre de host" }, "status": { "memoryFree": "Memoria RAM libre", diff --git a/src/lib/style/app.scss b/src/lib/style/app.scss index 3678098..85cf732 100644 --- a/src/lib/style/app.scss +++ b/src/lib/style/app.scss @@ -30,6 +30,8 @@ $input-font-size-sm: $font-size-base * .875; @import "../node_modules/bootstrap/scss/forms"; @import "../node_modules/bootstrap/scss/buttons"; @import "../node_modules/bootstrap/scss/button-group"; +@import "../node_modules/bootstrap/scss/pagination"; + @import "../node_modules/bootstrap/scss/dropdown"; @import "../node_modules/bootstrap/scss/navbar"; diff --git a/src/routes/Control.svelte b/src/routes/Control.svelte index ef16389..0d97371 100644 --- a/src/routes/Control.svelte +++ b/src/routes/Control.svelte @@ -79,7 +79,7 @@ const forceFullRefresh = () => {
  • { $_('section.control.version') }: {$settings.gitRev}
  • { $_('section.control.buildTime') }: {new Date(($settings.lastBuildTime * 1000)).toLocaleString()}
  • IP: {$settings.ip}
  • -
  • Hostname: {$settings.hostname}
  • +
  • { $_('section.control.hostname') }: {$settings.hostname}
  • diff --git a/src/routes/Status.svelte b/src/routes/Status.svelte index 83fd979..2e2f6fd 100644 --- a/src/routes/Status.svelte +++ b/src/routes/Status.svelte @@ -94,11 +94,13 @@ {#if $settings.screens} - - {#each $settings.screens as s} - - {/each} - +
    + + {#each $settings.screens as s} + + {/each} + +

    {#if $status.data}
    diff --git a/static/favicon.png b/static/favicon.png deleted file mode 100644 index 825b9e65af7c104cfb07089bb28659393b4f2097..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1571 zcmV+;2Hg3HP)Px)-AP12RCwC$UE6KzI1p6{F2N z1VK2vi|pOpn{~#djwYcWXTI_im_u^TJgMZ4JMOsSj!0ma>B?-(Hr@X&W@|R-$}W@Z zgj#$x=!~7LGqHW?IO8+*oE1MyDp!G=L0#^lUx?;!fXv@l^6SvTnf^ac{5OurzC#ZMYc20lI%HhX816AYVs1T3heS1*WaWH z%;x>)-J}YB5#CLzU@GBR6sXYrD>Vw(Fmt#|JP;+}<#6b63Ike{Fuo!?M{yEffez;| zp!PfsuaC)>h>-AdbnwN13g*1LowNjT5?+lFVd#9$!8Z9HA|$*6dQ8EHLu}U|obW6f z2%uGv?vr=KNq7YYa2Roj;|zooo<)lf=&2yxM@e`kM$CmCR#x>gI>I|*Ubr({5Y^rb zghxQU22N}F51}^yfDSt786oMTc!W&V;d?76)9KXX1 z+6Okem(d}YXmmOiZq$!IPk5t8nnS{%?+vDFz3BevmFNgpIod~R{>@#@5x9zJKEHLHv!gHeK~n)Ld!M8DB|Kfe%~123&Hz1Z(86nU7*G5chmyDe ziV7$pB7pJ=96hpxHv9rCR29%bLOXlKU<_13_M8x)6;P8E1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