wip
This commit is contained in:
1 parent
21d12281fb
commit
eb884603d9
1 file changed
+21
-21
@@ -2,28 +2,28 @@
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use App\Actions\LoadStatisticFixturesLeaguesOptions;
|
||||
use App\Actions\LoadStatisticFixturesMatchOptions;
|
||||
use App\Actions\Selections\LoadPlayer;
|
||||
use App\Actions\Selections\LoadSeasons;
|
||||
use BackedEnum;
|
||||
use Filament\Support\RawJs;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Schemas\Schema;
|
||||
use App\Models\SofaScoreRosa;
|
||||
use App\Models\StatisticFixtures;
|
||||
use BackedEnum;
|
||||
use BezhanSalleh\FilamentShield\Traits\HasPageShield;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Illuminate\Support\HtmlString;
|
||||
use Filament\Forms\Components\Radio;
|
||||
use Filament\Forms\Components\Select;
|
||||
use Filament\Forms\Components\Slider;
|
||||
use Filament\Pages\Dashboard as BaseDashboard;
|
||||
use Filament\Pages\Dashboard\Concerns\HasFiltersForm;
|
||||
use Filament\Schemas\Components\Grid;
|
||||
use App\Actions\Selections\LoadPlayer;
|
||||
use App\Actions\Selections\LoadSeasons;
|
||||
use Filament\Forms\Components\DatePicker;
|
||||
use Filament\Pages\Dashboard as BaseDashboard;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Filament\Schemas\Components\Utilities\Get;
|
||||
use Filament\Schemas\Components\Utilities\Set;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\RawJs;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Illuminate\Support\HtmlString;
|
||||
use App\Actions\LoadStatisticFixturesMatchOptions;
|
||||
use App\Actions\LoadStatisticFixturesLeaguesOptions;
|
||||
use BezhanSalleh\FilamentShield\Traits\HasPageShield;
|
||||
use Filament\Pages\Dashboard\Concerns\HasFiltersForm;
|
||||
|
||||
class Statistic extends BaseDashboard
|
||||
{
|
||||
@@ -344,14 +344,14 @@ class Statistic extends BaseDashboard
|
||||
|
||||
protected function tooltip_player_info(): HtmlString
|
||||
{
|
||||
$str = '<div class="m-3 grid grid-cols-2 gap-2 max-w-md">';
|
||||
$str = '<div class="m-3 grid grid-cols-2 gap-x-5 max-w-md">';
|
||||
$str .= '<div class="col-span-2 font-bold">Player Information</div>';
|
||||
$str .= '<div>Events played</div>';
|
||||
$str .= '<div>- Count</div>';
|
||||
$str .= '<div>Stronger foot</div>';
|
||||
$str .= '<div>- Left | Right | Both</div>';
|
||||
$str .= '<div>Average time on field</div>';
|
||||
$str .= '<div>- Minutes</div>';
|
||||
$str .= '<div>Events played:</div>';
|
||||
$str .= '<div>sum</div>';
|
||||
$str .= '<div>Stronger foot:</div>';
|
||||
$str .= '<div>left | right | both</div>';
|
||||
$str .= '<div>Average on field:</div>';
|
||||
$str .= '<div>minutes</div>';
|
||||
$str .= '</div>';
|
||||
|
||||
return new HtmlString($str);
|
||||
|
||||
Reference in new issue
Block a user