From 3e50e4cbfef4013fb6d1b39db7218457aa58a08d Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 14 Jun 2023 22:54:53 +0000 Subject: [PATCH] shorten cpu config labels Signed-off-by: Arthur Lu --- scripts/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/config.js b/scripts/config.js index dec8eda..b6e73d3 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -64,9 +64,9 @@ async function populateResources() { console.log(options); console.log("blacklist not yet supported") } - addResourceLine("resources", "images/resources/cpu.svg", "select", "Processors Type", "proctype", { value: config.data.cpu, options: options }); + addResourceLine("resources", "images/resources/cpu.svg", "select", "CPU Type", "proctype", { value: config.data.cpu, options: options }); } - addResourceLine("resources", "images/resources/cpu.svg", "input", "Processors Amount", "cores", { type: "number", value: config.data.cores, min: 1, max: 8192 }, "Cores"); + addResourceLine("resources", "images/resources/cpu.svg", "input", "CPU Amount", "cores", { type: "number", value: config.data.cores, min: 1, max: 8192 }, "Cores"); addResourceLine("resources", "images/resources/ram.svg", "input", "Memory", "ram", { type: "number", value: config.data.memory, min: 16, step: 1 }, "MiB"); if (type === "lxc") { addResourceLine("resources", "images/resources/swap.svg", "input", "Swap", "swap", { type: "number", value: config.data.swap, min: 0, step: 1 }, "MiB");