move some stuff

This commit is contained in:
notCharles 2024-05-12 14:30:35 -04:00
parent 76cf4391ae
commit e84b47410a

View File

@ -44,17 +44,15 @@ class EditNode extends EditRecord
->hintAction(CopyAction::make()) ->hintAction(CopyAction::make())
->columnSpan(2) ->columnSpan(2)
->disabled(), ->disabled(),
Forms\Components\TextInput::make('upload_size') Forms\Components\TagsInput::make('tags')
->label('Upload Limit') ->label('Tags')
->disabled()
->placeholder('Not Implemented')
->hintIcon('tabler-question-mark') ->hintIcon('tabler-question-mark')
->hintIconTooltip('Enter the maximum size of files that can be uploaded through the web-based file manager.') ->hintIconTooltip('Not Implemented')
->columnSpan(1) ->columnSpan(1),
->numeric()->required()
->minValue(1)
->maxValue(1024)
->suffix('MiB'),
Forms\Components\ToggleButtons::make('public') Forms\Components\ToggleButtons::make('public')
->label('Allow Automatic Allocation')->inline() ->label('Automatic Allocation')->inline()
->columnSpan(1) ->columnSpan(1)
->options([ ->options([
true => 'Yes', true => 'Yes',
@ -77,6 +75,15 @@ class EditNode extends EditRecord
true => 'danger', true => 'danger',
false => 'success', false => 'success',
]), ]),
Forms\Components\TextInput::make('upload_size')
->label('Upload Limit')
->hintIcon('tabler-question-mark')
->hintIconTooltip('Enter the maximum size of files that can be uploaded through the web-based file manager.')
->columnStart(4)->columnSpan(1)
->numeric()->required()
->minValue(1)
->maxValue(1024)
->suffix('MiB'),
Forms\Components\Grid::make() Forms\Components\Grid::make()
->columns(6) ->columns(6)
->columnSpanFull() ->columnSpanFull()