Add multi-currency support

This commit is contained in:
Djuri 2024-09-05 01:59:05 +02:00
parent 3f7384320f
commit 1ebd74fea2
8 changed files with 91 additions and 9 deletions

View file

@ -41,7 +41,8 @@
"flDisable": "Displaybeleuchtung deaktivieren",
"httpAuthUser": "WebUI-Benutzername",
"httpAuthPass": "WebUI-Passwort",
"httpAuthText": "Schützt nur die WebUI mit einem Passwort, nicht API-Aufrufe."
"httpAuthText": "Schützt nur die WebUI mit einem Passwort, nicht API-Aufrufe.",
"currencies": "Währungen"
},
"control": {
"systemInfo": "Systeminfo",

View file

@ -51,7 +51,8 @@
"httpAuthEnabled": "Require authentication for WebUI",
"httpAuthUser": "WebUI Username",
"httpAuthPass": "WebUI Password",
"httpAuthText": "Only password-protects WebUI, not API-calls."
"httpAuthText": "Only password-protects WebUI, not API-calls.",
"currencies": "Currencies"
},
"control": {
"systemInfo": "System info",

View file

@ -40,7 +40,8 @@
"flDisable": "Desactivar luz de la pantalla",
"httpAuthUser": "Nombre de usuario WebUI",
"httpAuthPass": "Contraseña WebUI",
"httpAuthText": "Solo la WebUI está protegida con contraseña, no las llamadas API."
"httpAuthText": "Solo la WebUI está protegida con contraseña, no las llamadas API.",
"currencies": "Monedas"
},
"control": {
"turnOff": "Apagar",

View file

@ -41,7 +41,8 @@
"flDisable": "Schakel Displaylicht uit",
"httpAuthUser": "WebUI-gebruikersnaam",
"httpAuthPass": "WebUI-wachtwoord",
"httpAuthText": "Beveiligd enkel WebUI, niet de API."
"httpAuthText": "Beveiligd enkel WebUI, niet de API.",
"currencies": "Valuta's"
},
"control": {
"systemInfo": "Systeeminformatie",

View file

@ -4,7 +4,9 @@
//@import "@fontsource/antonio/latin-400.css";
@import '@fontsource/ubuntu/latin-400.css';
@import '@fontsource/oswald/latin-400.css';
//@import '@fontsource/oswald/latin-400.css';
@import '@fontsource/antonio/latin-400.css';
@import './satsymbol';
$color-mode-type: media-query;
@ -62,7 +64,7 @@ nav {
background: #000;
display: flex;
font-size: calc(3vw + 3vh);
font-family: 'Oswald', sans-serif;
font-family: 'Antonio', sans-serif;
font-weight: 400;
padding: 10px;
gap: 10px;
@ -76,7 +78,7 @@ nav {
align-items: center;
justify-content: center;
text-align: center;
padding: 10px;
padding: 10px 10px 15px 10px;
width: calc(12vw + 12vh); /* Set a dynamic width based on viewport */
aspect-ratio: 1 / 1.5; /* Maintain a 1:1 aspect ratio */
@ -90,6 +92,10 @@ nav {
}
}
.digit.sats {
padding-top: 35px;
}
.mediumText {
font-size: calc(1.25vw + 1.25vh);
}