Rename columns
This commit is contained in:
		
							parent
							
								
									9baaff53cd
								
							
						
					
					
						commit
						145568237c
					
				| @ -60,7 +60,7 @@ class MakeNodeCommand extends Command | ||||
|         $data['upload_size'] = $this->option('uploadSize') ?? $this->ask('Enter the maximum filesize upload', '100'); | ||||
|         $data['daemon_listen'] = $this->option('daemonListeningPort') ?? $this->ask('Enter the daemon listening port', '8080'); | ||||
|         $data['daemon_sftp'] = $this->option('daemonSFTPPort') ?? $this->ask('Enter the daemon SFTP listening port', '2022'); | ||||
|         $data['daemon_base'] = $this->option('daemonBase') ?? $this->ask('Enter the base folder', '/var/lib/panel/volumes'); | ||||
|         $data['daemon_base'] = $this->option('daemonBase') ?? $this->ask('Enter the base folder', '/var/lib/pelican/volumes'); | ||||
| 
 | ||||
|         $node = $this->creationService->handle($data); | ||||
|         $this->line('Successfully created a new node with the name ' . $data['name'] . ' and has an id of ' . $node->id . '.'); | ||||
|  | ||||
| @ -43,17 +43,17 @@ class NodeResource extends Resource | ||||
|                     ->required() | ||||
|                     ->integer() | ||||
|                     ->default(100), | ||||
|                 Forms\Components\TextInput::make('daemonListen') | ||||
|                 Forms\Components\TextInput::make('daemon_listen') | ||||
|                     ->required() | ||||
|                     ->integer() | ||||
|                     ->label('Daemon Port') | ||||
|                     ->default(8080), | ||||
|                 Forms\Components\TextInput::make('daemonSFTP') | ||||
|                 Forms\Components\TextInput::make('daemon_sftp') | ||||
|                     ->required() | ||||
|                     ->integer() | ||||
|                     ->label('Daemon SFTP Port') | ||||
|                     ->default(2022), | ||||
|                 Forms\Components\TextInput::make('daemonBase') | ||||
|                 Forms\Components\TextInput::make('daemon_base') | ||||
|                     ->required() | ||||
|                     ->maxLength(191) | ||||
|                     ->default('/home/daemon-files'), | ||||
|  | ||||
| @ -113,7 +113,7 @@ class CreateNode extends CreateRecord | ||||
|                         'lg' => 1, | ||||
|                     ]), | ||||
| 
 | ||||
|                 Forms\Components\TextInput::make('daemonListen') | ||||
|                 Forms\Components\TextInput::make('daemon_listen') | ||||
|                     ->columnSpan([ | ||||
|                         'default' => 1, | ||||
|                         'sm' => 1, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 notCharles
						notCharles