a24c8a2c2e
- Restore UserTable/CompanyTable/ProjectTable usage in users, companies and projects-list pages (security commit had replaced them with plain HTML/DaisyUI tables, losing sorting/search/pagination/format) - Add missing User->company() belongsTo relationship (UserTable eager loads it; column + migration existed but relation was undefined) - Add #[Layout] attribute to CompanyManagement/ProjectList/PhaseProgress full-page Livewire components - Fix config/session.php: use env() instead of app()->environment() which fails during LoadConfiguration (env binding not yet registered) - Remove duplicate activeTab property in ProjectMap (fatal PHP error) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
820 B
PHP
22 lines
820 B
PHP
<x-app-layout>
|
|
<x-slot name="header">
|
|
<h2 class="font-semibold text-xl text-gray-800 leading-tight">
|
|
{{ __('Administrator') }} — {{ __('Users') }}
|
|
</h2>
|
|
</x-slot>
|
|
|
|
<div class="py-4">
|
|
<div class="max-w-5xl mx-auto sm:px-6 lg:px-8 flex flex-wrap items-center gap-4">
|
|
<a href="{{ route('projects.list') }}" class="btn btn-outline btn-primary">📁 {{ __('Projects') }}</a>
|
|
<a href="{{ route('admin.users') }}" class="btn btn-outline btn-secondary">👥 {{ __('User Management') }}</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="py-12">
|
|
<div class="max-w-5xl mx-auto sm:px-6 lg:px-8">
|
|
<div class="bg-white rounded-lg shadow p-6">
|
|
@livewire('user-table')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-app-layout> |