This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace LaraZeus\BoltPro\Fields; | |
use Filament\Forms\Components\Hidden; | |
use Filament\Forms\Components\TextInput; | |
use Filament\Tables\Columns\Column; | |
use Filament\Tables\Columns\TextColumn; | |
use LaraZeus\Accordion\Forms\Accordion; | |
use LaraZeus\Accordion\Forms\Accordions; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Filament\Pages; | |
use Filament\Forms\Components\Select; | |
use Filament\Forms\Components\TextInput; | |
use Filament\Forms\Form; | |
use Filament\Forms\Get; | |
use Filament\Pages\Page; | |
use Filament\Forms\Components\Wizard as WizardField; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getAppleDeviceName($modle) | |
{ | |
switch ($modle) { | |
case "i386" : | |
return "iPhone Sireturnv mulator"; | |
case "x86_64" : | |
return "iPhone Sireturn mulator"; | |
case "iPhone1,1" : | |
return "iPhone"; | |
case "iPhone1,2" : |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A Simple function to return Hex Color Code base on google material design colors | |
* | |
* thanks to https://github.com/danlevan/google-material-color | |
* | |
* to see all colors : https://material.google.com/style/color.html#color-color-palette . | |
* check the code for the White and Black , there is more Options | |
* | |
* @param string $color the color name , just replace any spaces with _ as : Deep Purple => Deep_Purple | |
* @param string $accent the accent of the color you want like 900 or A700 . default is 500 |