Updated the server button in the InstallSoftware.jsx, RemoteSFTP.jsx & RemoteSSH.jsx
This commit is contained in:
parent
61fdf92b9b
commit
57f9681e0f
@ -1,6 +1,6 @@
|
||||
import InfoArea from "@/common/components/InfoArea";
|
||||
import Button from "@/common/components/Button";
|
||||
import {faGear} from "@fortawesome/free-solid-svg-icons";
|
||||
import {faGear, faServer} from "@fortawesome/free-solid-svg-icons";
|
||||
import {useContext, useState} from "react";
|
||||
import Software from "./software.jsx";
|
||||
import SoftwareGrid from "@/pages/tools/linux/InstallSoftware/components/SoftwareGrid";
|
||||
@ -20,7 +20,7 @@ export const InstallSoftware = () => {
|
||||
<ServerProvider>
|
||||
<InfoArea title="Software"
|
||||
description="Aktuell nur für Debian/Ubuntu verfügbar. Installiere mit diesem Tool jede mögliche Software mit einem Klick :)">
|
||||
<Button icon={faGear} text="Konfigurieren" onClick={() => setServerDialogOpen(true)}/>
|
||||
<Button icon={faServer} text="Server" onClick={() => setServerDialogOpen(true)}/>
|
||||
</InfoArea>
|
||||
|
||||
{serverDialogOpen && <ServerDialog onClose={() => setServerDialogOpen(false)}/>}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import InfoArea from "@/common/components/InfoArea";
|
||||
import Button from "@/common/components/Button";
|
||||
import {faGear} from "@fortawesome/free-solid-svg-icons";
|
||||
import {faGear, faServer} from "@fortawesome/free-solid-svg-icons";
|
||||
import ErrorArea from "@/common/components/ErrorArea";
|
||||
import "./styles.sass";
|
||||
import ServerDialog from "@/pages/tools/linux/components/ServerDialog/index.js";
|
||||
@ -14,7 +14,7 @@ export const RemoteSFTP = () => {
|
||||
return (
|
||||
<ServerProvider>
|
||||
<InfoArea title="Remote SFTP" description="Mit diesem Tool kannst du deine Dateien auf einem SFTP-Server verwalten">
|
||||
<Button icon={faGear} text="Konfigurieren" onClick={() => setServerDialogOpen(true)}/>
|
||||
<Button icon={faServer} text="Server" onClick={() => setServerDialogOpen(true)}/>
|
||||
</InfoArea>
|
||||
|
||||
{serverDialogOpen && <ServerDialog onClose={() => setServerDialogOpen(false)}/>}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import InfoArea from "@/common/components/InfoArea";
|
||||
import Button from "@/common/components/Button";
|
||||
import {faGear} from "@fortawesome/free-solid-svg-icons";
|
||||
import {faGear, faServer} from "@fortawesome/free-solid-svg-icons";
|
||||
import ErrorArea from "@/common/components/ErrorArea";
|
||||
import "./styles.sass";
|
||||
import {useState} from "react";
|
||||
@ -13,7 +13,7 @@ export const RemoteSSH = () => {
|
||||
return (
|
||||
<ServerProvider>
|
||||
<InfoArea title="Remote SSH" description="Mit diesem Tool kannst du dich mit einem SSH-Server verbinden und diesen fernsteuern.">
|
||||
<Button icon={faGear} text="Konfigurieren" onClick={() => setServerDialogOpen(true)}/>
|
||||
<Button icon={faServer} text="Server" onClick={() => setServerDialogOpen(true)}/>
|
||||
</InfoArea>
|
||||
|
||||
{serverDialogOpen && <ServerDialog onClose={() => setServerDialogOpen(false)}/>}
|
||||
|
Reference in New Issue
Block a user