8101f22413
Point 2 (migrate to Rappasoft tables): - /admin/users now renders <livewire:user-table /> (+ a New user button) instead of the custom admin-users component - /companies now renders <livewire:company-table /> (+ New company button) instead of the hand-rolled card list Point 3 (delete): removed resources/views/welcome.blade.php (unused — '/' redirects to dashboard). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
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">
|
|
<div class="flex justify-end mb-4">
|
|
<a href="{{ route('admin.users.create') }}" class="btn btn-primary btn-sm gap-1" wire:navigate>
|
|
<x-heroicon-o-plus class="w-4 h-4" /> {{ __('New user') }}
|
|
</a>
|
|
</div>
|
|
<livewire:user-table />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-app-layout> |