From a2e0b513d742a823cd301f8b312eb58e6e32695a Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 4 Aug 2023 18:09:44 +0200 Subject: [PATCH] Added pterodactyl to the software.jsx --- .../tools/linux/InstallSoftware/software.jsx | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/client/src/pages/tools/linux/InstallSoftware/software.jsx b/client/src/pages/tools/linux/InstallSoftware/software.jsx index d1ff6f0..51f4eed 100644 --- a/client/src/pages/tools/linux/InstallSoftware/software.jsx +++ b/client/src/pages/tools/linux/InstallSoftware/software.jsx @@ -2,7 +2,16 @@ import UpdateImage from "./images/update.webp"; import MySpeedImage from "./images/myspeed.webp"; import DockerImage from "./images/docker.webp"; import NextCloudImage from "./images/nextcloud.webp"; -import {faBox, faFolder, faGlobe, faInfoCircle, faKey, faUser} from "@fortawesome/free-solid-svg-icons"; +import PterodactylImage from "./images/pterodactyl.webp"; +import { + faBox, faEnvelope, + faFolder, + faGlobe, + faInfoCircle, + faKey, + faLanguage, faMailBulk, faServer, + faUser +} from "@fortawesome/free-solid-svg-icons"; export default [ { @@ -39,5 +48,17 @@ export default [ {type: "input", id: "user", text: "Benutzer", icon: faUser, value: "Admin"}, {type: "input", id: "pass", text: "Passwort", icon: faKey, value: () => Math.random().toString(36).slice(-8)} ] + }, + { + name: "Pterodactyl", + icon: PterodactylImage, + configuration: [ + {type: "input", id: "folder", text: "Ort", icon: faFolder, value: "/var/www/pterodactyl"}, + {type: "input", id: "domain", text: "Domain", icon: faGlobe, value: "pterodactyl.example.com"}, + {type: "select", id: "german", text: GermanDactyl, + icon: faLanguage, options: ["Ja", "Nein"], value: "Ja"}, + {type: "input", id: "mail", text: "E-Mail", icon: faEnvelope, value: "unknown@example.com"}, + {type: "input", id: "pass", text: "Passwort", icon: faKey, value: () => Math.random().toString(36).slice(-8)}, + ] } ]; \ No newline at end of file