feat: Phase 2 - page CRUD, subscriber management, user management

This commit is contained in:
2026-04-03 21:15:40 +02:00
parent 78e1be3e3b
commit cf026f46b0
33 changed files with 1135 additions and 82 deletions

View File

@@ -5,8 +5,21 @@
@section('mobile_title', __('New user'))
@section('content')
<div class="mx-auto max-w-6xl">
<h1 class="text-2xl font-semibold text-slate-900">{{ __('Create user') }}</h1>
<p class="mt-2 text-sm text-slate-600">{{ __('Form will be added in Step 10.') }}</p>
<div class="mx-auto max-w-xl">
<div class="mb-8">
<a href="{{ route('admin.users.index') }}" class="text-sm font-medium text-indigo-600 hover:text-indigo-500"> {{ __('Back to users') }}</a>
<h1 class="mt-4 text-2xl font-semibold text-slate-900">{{ __('Create user') }}</h1>
</div>
<form action="{{ route('admin.users.store') }}" method="post" class="rounded-xl border border-slate-200 bg-white p-6 shadow-sm sm:p-8">
@csrf
@include('admin.users._form', ['user' => null])
<div class="mt-8 flex gap-3">
<button type="submit" class="rounded-lg bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500">
{{ __('Create user') }}
</button>
<a href="{{ route('admin.users.index') }}" class="rounded-lg border border-slate-300 bg-white px-4 py-2.5 text-sm font-semibold text-slate-700 hover:bg-slate-50">{{ __('Cancel') }}</a>
</div>
</form>
</div>
@endsection