mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Helper text for creating new allocations
This commit is contained in:
parent
da1bf320dd
commit
f8550334dd
@ -85,12 +85,18 @@ class ServerResource extends Resource
|
||||
->createOptionForm([
|
||||
Forms\Components\TextInput::make('allocation_ip')
|
||||
->label('IP Address')
|
||||
->helperText('Usually your machine\'s public IP unless you are port forwarding.')
|
||||
->required(),
|
||||
Forms\Components\TextInput::make('allocation_alias')
|
||||
->label('Alias')
|
||||
->helperText('This is just a display only name to help you recognize what this Allocation is used for.')
|
||||
->required(false),
|
||||
Forms\Components\TagsInput::make('allocation_ports')
|
||||
->placeholder('Examples: 27015, 27017-27019')
|
||||
->helperText('
|
||||
These are the ports that users can connect to this Server through.
|
||||
They usually consist of the port forwarded ones.
|
||||
')
|
||||
->label('Ports')
|
||||
->required(),
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user