Small improvements
This commit is contained in:
parent
4471ab9ef4
commit
6740030a0c
7 changed files with 14 additions and 9 deletions
|
@ -2,7 +2,6 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
%sveltekit.head%
|
||||
</head>
|
||||
|
|
|
@ -31,7 +31,8 @@
|
|||
"setColor": "Set color",
|
||||
"showText": "Show text",
|
||||
"text": "Text",
|
||||
"title": "Control"
|
||||
"title": "Control",
|
||||
"hostname": "Hostname"
|
||||
},
|
||||
"status": {
|
||||
"title": "Status",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -79,7 +79,7 @@ const forceFullRefresh = () => {
|
|||
<li>{ $_('section.control.version') }: {$settings.gitRev}</li>
|
||||
<li>{ $_('section.control.buildTime') }: {new Date(($settings.lastBuildTime * 1000)).toLocaleString()}</li>
|
||||
<li>IP: {$settings.ip}</li>
|
||||
<li>Hostname: {$settings.hostname}</li>
|
||||
<li>{ $_('section.control.hostname') }: {$settings.hostname}</li>
|
||||
</ul>
|
||||
<Button color="danger" id="restartBtn" on:click="{restartClock}">{ $_('button.restart') }</Button>
|
||||
<Button color="warning" id="forceFullRefresh" on:click="{forceFullRefresh}">{ $_('button.forceFullRefresh') }</Button>
|
||||
|
|
|
@ -94,11 +94,13 @@
|
|||
</CardHeader>
|
||||
<CardBody>
|
||||
{#if $settings.screens}
|
||||
<ButtonGroup size="sm">
|
||||
{#each $settings.screens as s}
|
||||
<Button color="outline-primary" active={$status.currentScreen == s.id} on:click={setScreen(s.id)}>{s.name}</Button>
|
||||
{/each}
|
||||
</ButtonGroup>
|
||||
<div class="d-flex justify-content-center">
|
||||
<ButtonGroup size="sm">
|
||||
{#each $settings.screens as s}
|
||||
<Button color="outline-primary" active={$status.currentScreen == s.id} on:click={setScreen(s.id)}>{s.name}</Button>
|
||||
{/each}
|
||||
</ButtonGroup>
|
||||
</div>
|
||||
<hr>
|
||||
{#if $status.data}
|
||||
<section class={lightMode ? 'lightMode': ''}>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.5 KiB |
Loading…
Reference in a new issue