Fix styling

This commit is contained in:
Lance Pioch 2024-04-18 17:08:10 -04:00
parent 679c72d70e
commit ae189748f1
4 changed files with 17 additions and 22 deletions

View File

@ -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

View File

@ -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()

View File

@ -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;

View File

@ -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>.