Browse Source

menu change

parent
commit
adfd27e5dd

+ 2
- 2
app/Filament/Resources/BannerResource.php View File

26
 class BannerResource extends Resource
26
 class BannerResource extends Resource
27
 {
27
 {
28
     protected static ?string $model = Banner::class;
28
     protected static ?string $model = Banner::class;
29
-    protected static ?string $modelLabel = "Banner";
30
     protected static ?int $navigationSort = 1;
29
     protected static ?int $navigationSort = 1;
31
-
32
     protected static ?string $navigationIcon = 'heroicon-o-photo';
30
     protected static ?string $navigationIcon = 'heroicon-o-photo';
31
+    protected static ?string $navigationGroup = '其他設定';
33
     // protected static ?string $navigationGroup = '上稿內容管理';
32
     // protected static ?string $navigationGroup = '上稿內容管理';
34
     protected static ?string $navigationLabel = "首頁 Banner 管理";
33
     protected static ?string $navigationLabel = "首頁 Banner 管理";
34
+    protected static ?string $modelLabel = "首頁 Banner 管理";
35
 
35
 
36
     // 預設排序
36
     // 預設排序
37
     protected static function booted()
37
     protected static function booted()

+ 1
- 0
app/Filament/Resources/UploadFileResource.php View File

23
     protected static ?string $model = UploadFile::class;
23
     protected static ?string $model = UploadFile::class;
24
 
24
 
25
     protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
25
     protected static ?string $navigationIcon = 'heroicon-o-rectangle-stack';
26
+    protected static ?string $navigationGroup = '其他設定';
26
     protected static ?string $navigationLabel = "附檔上傳管理";
27
     protected static ?string $navigationLabel = "附檔上傳管理";
27
     protected static ?string $modelLabel = "附檔上傳管理";
28
     protected static ?string $modelLabel = "附檔上傳管理";
28
 
29