This commit is contained in:
Thomas Peterson 2025-11-17 09:40:18 +01:00
parent 312eb2c4bd
commit 72698e2e93

View File

@ -52,7 +52,9 @@ class ServerListTab
// Refresh button // Refresh button
$this->refreshButton = new Button( $this->refreshButton = new Button(
'Server aktualisieren', 'Server aktualisieren',
'flex shadow-lg/50 flex-row gap-2 px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700', 'flex shadow-lg/50 flex-row gap-2 px-4 py-2 bg-blue-600 rounded hover:bg-blue-700',
null,
'text-white',
); );
$refreshIcon = new Icon(IconName::sync, 16, 'text-white'); $refreshIcon = new Icon(IconName::sync, 16, 'text-white');
$this->refreshButton->setIcon($refreshIcon); $this->refreshButton->setIcon($refreshIcon);
@ -112,7 +114,7 @@ class ServerListTab
// SFTP Manager Button (handler will be set by SftpManagerTab) // SFTP Manager Button (handler will be set by SftpManagerTab)
$this->sftpButton = new Button( $this->sftpButton = new Button(
'SFTP Manager öffnen', 'SFTP Manager öffnen',
'rounded-md bg-blue-500 px-3 py-2 text-sm font-semibold text-white shadow-lg shadow-blue-500/50 focus:outline-none flex flex-row gap-2', 'w-full rounded-md bg-blue-500 px-3 py-2 text-sm font-semibold shadow-lg shadow-blue-500/50 focus:outline-none flex flex-row gap-2',
null, null,
'text-white', 'text-white',
); );
@ -125,8 +127,10 @@ class ServerListTab
$this->sshTerminalButton = new Button( $this->sshTerminalButton = new Button(
'SSH Terminal öffnen', 'SSH Terminal öffnen',
'w-full border border-gray-300 rounded px-3 py-2 flex shadow-lg/100 shadow-lime-300 flex-row gap-2 bg-lime-300 text-black mb-2', 'w-full border border-gray-300 rounded px-3 py-2 flex shadow-lg/100 shadow-lime-300 flex-row gap-2 bg-lime-300 text-black mb-2',
null,
'text-black',
); );
$sshTerminalIcon = new Icon(IconName::terminal, 16, 'text-white'); $sshTerminalIcon = new Icon(IconName::terminal, 16, 'text-black');
$this->sshTerminalButton->setIcon($sshTerminalIcon); $this->sshTerminalButton->setIcon($sshTerminalIcon);
$serverListTab = $this; $serverListTab = $this;