mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
update
This commit is contained in:
parent
a77bc147a4
commit
54238b30b3
6 changed files with 12422 additions and 32 deletions
|
@ -2,15 +2,18 @@
|
||||||
|
|
||||||
namespace App\Filament\Pages\Settings;
|
namespace App\Filament\Pages\Settings;
|
||||||
|
|
||||||
|
use App\Helpers;
|
||||||
use App\MasterDomain;
|
use App\MasterDomain;
|
||||||
use Closure;
|
use Closure;
|
||||||
use Filament\Forms\Components\Checkbox;
|
use Filament\Forms\Components\Checkbox;
|
||||||
use Filament\Forms\Components\ColorPicker;
|
use Filament\Forms\Components\ColorPicker;
|
||||||
|
use Filament\Forms\Components\Select;
|
||||||
use Filament\Forms\Components\Tabs;
|
use Filament\Forms\Components\Tabs;
|
||||||
use Filament\Forms\Components\Textarea;
|
use Filament\Forms\Components\Textarea;
|
||||||
use Filament\Forms\Components\TextInput;
|
use Filament\Forms\Components\TextInput;
|
||||||
use Filament\Forms\Get;
|
use Filament\Forms\Get;
|
||||||
use Illuminate\Support\Facades\Storage;
|
use Illuminate\Support\Facades\Storage;
|
||||||
|
use Monarobase\CountryList\CountryList;
|
||||||
use Outerweb\FilamentSettings\Filament\Pages\Settings as BaseSettings;
|
use Outerweb\FilamentSettings\Filament\Pages\Settings as BaseSettings;
|
||||||
use Symfony\Component\Console\Input\Input;
|
use Symfony\Component\Console\Input\Input;
|
||||||
|
|
||||||
|
@ -41,16 +44,15 @@ class Settings extends BaseSettings
|
||||||
TextInput::make('general.brand_logo_url'),
|
TextInput::make('general.brand_logo_url'),
|
||||||
ColorPicker::make('general.brand_primary_color'),
|
ColorPicker::make('general.brand_primary_color'),
|
||||||
|
|
||||||
|
|
||||||
TextInput::make('general.master_domain')->live(),
|
TextInput::make('general.master_domain')->live(),
|
||||||
// Checkbox::make('general.master_domain_wildcard_enabled')
|
|
||||||
// ->label('Wildcard on Master Domain')
|
|
||||||
// ->helperText(function (Get $get) {
|
|
||||||
// return 'Enable wildcard for master domain. Eg: *.'.$get('general.master_domain');
|
|
||||||
// }),
|
|
||||||
|
|
||||||
TextInput::make('general.master_email'),
|
TextInput::make('general.master_email'),
|
||||||
TextInput::make('general.master_country'),
|
Select::make('general.master_country')
|
||||||
|
->searchable()
|
||||||
|
->options(function () {
|
||||||
|
$countryList = new CountryList();
|
||||||
|
return $countryList->getList();
|
||||||
|
}),
|
||||||
TextInput::make('general.master_locality'),
|
TextInput::make('general.master_locality'),
|
||||||
TextInput::make('general.organization_name'),
|
TextInput::make('general.organization_name'),
|
||||||
]),
|
]),
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
"laravel/tinker": "^2.8",
|
"laravel/tinker": "^2.8",
|
||||||
"leandrocfe/filament-apex-charts": "^3.1",
|
"leandrocfe/filament-apex-charts": "^3.1",
|
||||||
"mkocansey/bladewind": "^2.4",
|
"mkocansey/bladewind": "^2.4",
|
||||||
|
"monarobase/country-list": "^3.5",
|
||||||
"nwidart/laravel-modules": "^10.0",
|
"nwidart/laravel-modules": "^10.0",
|
||||||
"outerweb/filament-settings": "^1.2",
|
"outerweb/filament-settings": "^1.2",
|
||||||
"phpseclib/phpseclib": "^3.0",
|
"phpseclib/phpseclib": "^3.0",
|
||||||
|
|
12387
web/composer.lock
generated
Normal file
12387
web/composer.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue