mirror of
https://github.com/openclassify/openclassify.git
synced 2026-04-14 11:12:09 -05:00
- Created UserResource for managing users with form and table configurations. - Implemented pages for creating, editing, listing users, and viewing user activities. - Added UserPlugin for resource registration in Filament admin panel. - Introduced CSS styles for panel quick creation and listing filters. - Developed JavaScript modules for handling listing filters and home slider functionality.
30 lines
562 B
PHP
30 lines
562 B
PHP
<?php
|
|
|
|
namespace Modules\Site;
|
|
|
|
use Filament\Contracts\Plugin;
|
|
use Filament\Panel;
|
|
|
|
final class SitePlugin implements Plugin
|
|
{
|
|
public function getId(): string
|
|
{
|
|
return 'site';
|
|
}
|
|
|
|
public static function make(): static
|
|
{
|
|
return app(static::class);
|
|
}
|
|
|
|
public function register(Panel $panel): void
|
|
{
|
|
$panel->discoverPages(
|
|
in: module_path('Site', 'Filament/Admin/Pages'),
|
|
for: 'Modules\\Site\\Filament\\Admin\\Pages',
|
|
);
|
|
}
|
|
|
|
public function boot(Panel $panel): void {}
|
|
}
|