mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-25 00:50:32 +00:00
update
This commit is contained in:
parent
35a6305d93
commit
5a3a3611d0
3 changed files with 12 additions and 6 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
namespace Modules\Docker\Filament\Clusters\Docker\Resources;
|
||||
|
||||
use Modules\Customer\App\Filament\Resources\DockerTemplateResource\Pages;
|
||||
use Modules\Customer\App\Filament\Resources\DockerTemplateResource\RelationManagers;
|
||||
use Filament\Forms;
|
||||
use Filament\Forms\Form;
|
||||
use Filament\Resources\Resource;
|
||||
|
@ -12,6 +10,9 @@ use Filament\Tables\Table;
|
|||
use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\SoftDeletingScope;
|
||||
use Modules\Docker\App\Models\DockerTemplate;
|
||||
use Modules\Docker\Filament\Clusters\Docker\Resources\DockerTemplateResource\Pages\CreateDockerTemplate;
|
||||
use Modules\Docker\Filament\Clusters\Docker\Resources\DockerTemplateResource\Pages\EditDockerTemplate;
|
||||
use Modules\Docker\Filament\Clusters\Docker\Resources\DockerTemplateResource\Pages\ListDockerTemplates;
|
||||
|
||||
class DockerTemplateResource extends Resource
|
||||
{
|
||||
|
@ -25,7 +26,9 @@ class DockerTemplateResource extends Resource
|
|||
|
||||
protected static ?string $model = DockerTemplate::class;
|
||||
|
||||
protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
|
||||
protected static ?string $navigationIcon = 'docker-templates';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
public static function form(Form $form): Form
|
||||
{
|
||||
|
@ -64,9 +67,9 @@ class DockerTemplateResource extends Resource
|
|||
public static function getPages(): array
|
||||
{
|
||||
return [
|
||||
'index' => Pages\ListDockerTemplates::route('/'),
|
||||
'create' => Pages\CreateDockerTemplate::route('/create'),
|
||||
'edit' => Pages\EditDockerTemplate::route('/{record}/edit'),
|
||||
'index' => ListDockerTemplates::route('/'),
|
||||
'create' => CreateDockerTemplate::route('/create'),
|
||||
'edit' => EditDockerTemplate::route('/{record}/edit'),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512">
|
||||
<path fill="currentColor" d="M512 169.844L342.694 256V85.032zM330.694 90.948l-154.031 75.938V337.83l154.03-75.916zm-166.031 75.914L0 85.032V256l164.663 81.807zm178.03 102.602v157.504L512 340.788v-157.48z"></path>
|
||||
</svg>
|
After Width: | Height: | Size: 312 B |
Loading…
Reference in a new issue