mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-05 12:08:58 +00:00
- Optimize Blade JavaScript code. - Refactored multiple admin controllers for improved validation, error handling, and query efficiency. - Added ProxyConfig trait to centralize proxy configuration options. - Updated NodeStatusDetection to use model relationships for heartbeat checks. - Improved category, label, and country management logic and error logging. - Added new Blade components for admin UI and updated language files and assets for better localization and frontend support. - Bug fixed & introduced more bug :)
25 lines
807 B
PHP
25 lines
807 B
PHP
@props([
|
|
'name',
|
|
'id' => null,
|
|
'label' => null,
|
|
'type' => 'text',
|
|
'placeholder' => '',
|
|
'required' => false,
|
|
'attribute' => 'autocomplete=off',
|
|
'help' => null,
|
|
'label_grid' => 'col-xxl-2 col-lg-3 col-sm-4',
|
|
'input_grid' => 'col-xxl-4 col-xl-7 col-sm-8',
|
|
'container' => 'form-group row',
|
|
])
|
|
|
|
<div class="{{ $container }}">
|
|
<label class="{{ $label_grid }} col-form-label" for="{{ $id ?? $name }}">{{ $label }}</label>
|
|
<div class="{{ $input_grid }}">
|
|
<input class="form-control" id="{{ $id ?? $name }}" name="{{ $name }}" type="{{ $type }}" placeholder="{{ $placeholder }}"
|
|
@if ($required) required @endif {{ $attribute }} />
|
|
@if ($help)
|
|
<span class="text-help">{!! $help !!}</span>
|
|
@endif
|
|
</div>
|
|
</div>
|