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