mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-12 23:48:53 +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 :)
24 lines
711 B
PHP
24 lines
711 B
PHP
@props([
|
|
'name',
|
|
'id' => null,
|
|
'label' => null,
|
|
'rows' => 5,
|
|
'help' => null,
|
|
'label_grid' => 'col-xxl-2 col-lg-3 col-sm-4',
|
|
'input_grid' => 'col-xxl-6 col-sm-8',
|
|
'container' => 'form-group row',
|
|
'placeholder' => null,
|
|
])
|
|
|
|
<div class="{{ $container }}">
|
|
@if ($label)
|
|
<label class="{{ $label_grid }} col-form-label" for="{{ $id ?? $name }}">{{ $label }}</label>
|
|
@endif
|
|
<div class="{{ $input_grid }}">
|
|
<textarea class="form-control" id="{{ $id ?? $name }}" name="{{ $name }}" rows="{{ $rows }}" placeholder="{!! $placeholder !!}"></textarea>
|
|
@if ($help)
|
|
<span class="text-help">{{ $help }}</span>
|
|
@endif
|
|
</div>
|
|
</div>
|