mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 08:44:46 +02:00
Fix styling
This commit is contained in:
parent
679c72d70e
commit
ae189748f1
@ -8,8 +8,6 @@ use App\Models\Node;
|
||||
use App\Models\Server;
|
||||
use App\Models\User;
|
||||
use Filament\Actions\CreateAction;
|
||||
use Filament\Infolists\Components\Concerns\HasHeaderActions;
|
||||
use Filament\Infolists\Infolist;
|
||||
use Filament\Pages\Page;
|
||||
|
||||
class Dashboard extends Page
|
||||
|
@ -592,8 +592,7 @@ class ServerResource extends Resource
|
||||
'paused', 'removing' => 'warning',
|
||||
'node_fail', 'install_failed', 'suspended' => 'danger',
|
||||
default => 'gray',
|
||||
})
|
||||
,
|
||||
}),
|
||||
|
||||
Tables\Columns\TextColumn::make('uuid')
|
||||
->hidden()
|
||||
|
@ -4,7 +4,6 @@ namespace App\Filament\Resources\ServerResource\Pages;
|
||||
|
||||
use App\Filament\Resources\ServerResource;
|
||||
use App\Services\Servers\ServerCreationService;
|
||||
use Filament\Actions;
|
||||
use Filament\Resources\Pages\CreateRecord;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
@ -25,8 +24,8 @@ class CreateServer extends CreateRecord
|
||||
return $server;
|
||||
}
|
||||
|
||||
// protected function getRedirectUrl(): string
|
||||
// {
|
||||
// return $this->getResource()::getUrl('edit');
|
||||
// }
|
||||
// protected function getRedirectUrl(): string
|
||||
// {
|
||||
// return $this->getResource()::getUrl('edit');
|
||||
// }
|
||||
}
|
||||
|
@ -71,8 +71,7 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
|
||||
->prefixIcon('tabler-flag')
|
||||
->live()
|
||||
->default('en')
|
||||
->helperText(fn (User $user, $state) =>
|
||||
new HtmlString($user->isLanguageTranslated($state) ? '' : "
|
||||
->helperText(fn (User $user, $state) => new HtmlString($user->isLanguageTranslated($state) ? '' : "
|
||||
Your language ($state) has not been translated yet!
|
||||
But never fear, you can help fix that by
|
||||
<a style='color: rgb(56, 189, 248)' href='https://crowdin.com/project/pelican-dev'>contributing directly here</a>.
|
||||
@ -96,26 +95,26 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
|
||||
|
||||
$options = new QROptions([
|
||||
'svgLogo' => public_path('pelican.svg'),
|
||||
'addLogoSpace' => true,
|
||||
'logoSpaceWidth' => 13,
|
||||
'logoSpaceHeight' => 13,
|
||||
'addLogoSpace' => true,
|
||||
'logoSpaceWidth' => 13,
|
||||
'logoSpaceHeight' => 13,
|
||||
]);
|
||||
|
||||
// https://github.com/chillerlan/php-qrcode/blob/main/examples/svgWithLogo.php
|
||||
|
||||
// SVG logo options (see extended class)
|
||||
$options->svgLogo = public_path('pelican.svg'); // logo from: https://github.com/simple-icons/simple-icons
|
||||
$options->svgLogoScale = 0.05;
|
||||
$options->svgLogo = public_path('pelican.svg'); // logo from: https://github.com/simple-icons/simple-icons
|
||||
$options->svgLogoScale = 0.05;
|
||||
// $options->svgLogoCssClass = 'dark';
|
||||
|
||||
// QROptions
|
||||
$options->version = Version::AUTO;
|
||||
$options->version = Version::AUTO;
|
||||
// $options->outputInterface = QRSvgWithLogo::class;
|
||||
$options->outputBase64 = false;
|
||||
$options->eccLevel = EccLevel::H; // ECC level H is necessary when using logos
|
||||
$options->addQuietzone = true;
|
||||
$options->outputBase64 = false;
|
||||
$options->eccLevel = EccLevel::H; // ECC level H is necessary when using logos
|
||||
$options->addQuietzone = true;
|
||||
// $options->drawLightModules = true;
|
||||
$options->connectPaths = true;
|
||||
$options->connectPaths = true;
|
||||
$options->drawCircularModules = true;
|
||||
// $options->circleRadius = 0.45;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user