diff --git a/.gitignore b/.gitignore index 52e52a0..26d0056 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ packages/void_amd64_tfclient/work packages/void_amd64_tfclient/*.xbps *.pem *.xbps +tfweb/build diff --git a/tfweb/package.json b/tfweb/package.json index 79fb14c..4cad20e 100644 --- a/tfweb/package.json +++ b/tfweb/package.json @@ -12,6 +12,7 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^2.0.0", + "@sveltejs/adapter-node": "^1.3.1", "@sveltejs/kit": "^1.5.0", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", diff --git a/tfweb/src/components/AdminLayout.svelte b/tfweb/src/components/AdminLayout.svelte index e5cfada..00f10db 100644 --- a/tfweb/src/components/AdminLayout.svelte +++ b/tfweb/src/components/AdminLayout.svelte @@ -1,5 +1,4 @@ diff --git a/tfweb/src/lib/i18n/locales/en/networkcreate.json b/tfweb/src/lib/i18n/locales/en/networkcreate.json index 3ec20b5..5268d80 100644 --- a/tfweb/src/lib/i18n/locales/en/networkcreate.json +++ b/tfweb/src/lib/i18n/locales/en/networkcreate.json @@ -3,7 +3,7 @@ "explain": "This defines what IP addresses will be assigned to your devices. The range you enter below must fall within either the RFC 1918 Private Address Space or the RFC 6598 Shared Address Space. Enter your network via CIDR notation.", "label": "Network range", "button": "Create network", - "valid": "Valid - {{numIps}} addresses ({{start}} to {{end}})", + "valid": "Valid - {{numIps:number}} addresses ({{start}} to {{end}})", "invalid": "Invalid", "error": { "generic": "Unable to create network: {{err}}", diff --git a/tfweb/src/routes/networkcreate/+page.svelte b/tfweb/src/routes/networkcreate/+page.svelte index 6fef866..b403fe7 100644 --- a/tfweb/src/routes/networkcreate/+page.svelte +++ b/tfweb/src/routes/networkcreate/+page.svelte @@ -1,5 +1,5 @@