servers.createWindow(async () => { const View = new ViewWindow({ title: ` Gestion des serveurs`, width: "1000px", height: "450px" }) const serversList = new Array() const alpha = new Server({ name: "Alpha", description: "Serveur principal", icon: "fa-solid fa-hourglass-start", }) const omega = new Server({ name: "Omega", description: "Serveur secondaire", icon: "fa-solid fa-stop", }) serversList.push(alpha.generateHTML()) serversList.push(omega.generateHTML()) View.setContent(`
Alpha
RAM
1.5 Go / 2 Go
CPU
1.5 Go / 2 Go
DISK
1.5 Go / 2 Go