From 5d38f2ece694a8633536caacbd37b46a7c757644 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Thu, 4 Apr 2024 18:59:42 -0400 Subject: [PATCH] Adjustments --- app/Filament/Resources/NodeResource/Pages/CreateNode.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Filament/Resources/NodeResource/Pages/CreateNode.php b/app/Filament/Resources/NodeResource/Pages/CreateNode.php index b44912616..e1b4ee559 100644 --- a/app/Filament/Resources/NodeResource/Pages/CreateNode.php +++ b/app/Filament/Resources/NodeResource/Pages/CreateNode.php @@ -112,13 +112,15 @@ class CreateNode extends CreateRecord ->regex('/[a-zA-Z0-9_\.\- ]+/') ->helperText('This is the display name and can be changed later. Character limits: a-Z, 0-9, and [.-_ ]') ->maxLength(100), + Forms\Components\ToggleButtons::make('scheme') ->label('Communicate over SSL') + ->columnSpan(2) ->required() ->inline() ->helperText(function (Forms\Get $get) { if (request()->isSecure()) { - return 'Your Panel is using a secure (SSL/TLS) connection, therefore your Daemon has to as well.'; + return 'Your Panel is using a secure (SSL/TLS) connection. Therefore your Daemon must too.'; } if (is_ip($get('fqdn'))) {