From 2b21634e3924e3d301aea07b666c245500a188d7 Mon Sep 17 00:00:00 2001 From: anazaryan Date: Thu, 19 Dec 2024 18:30:27 +0400 Subject: [PATCH] workers profile page fixes/modifications --- app/Http/Controllers/WorkerController.php | 4 +- public/css/general.css | 4 ++ resources/views/workers/cabinet.blade.php | 4 ++ resources/views/workers/docs.blade.php | 28 +++++++++-- resources/views/workers/favorite.blade.php | 2 +- .../workers/form_additional_documents.blade.php | 4 +- .../views/workers/form_basic_information.blade.php | 15 +++--- resources/views/workers/menu.blade.php | 6 ++- resources/views/workers/sertificate_add.blade.php | 22 +++++++-- resources/views/workers/sertificate_edit.blade.php | 49 ++++++++++++++++++-- 10 files changed, 114 insertions(+), 24 deletions(-) diff --git a/app/Http/Controllers/WorkerController.php b/app/Http/Controllers/WorkerController.php index 6a0870d..d7dfd75 100644 --- a/app/Http/Controllers/WorkerController.php +++ b/app/Http/Controllers/WorkerController.php @@ -799,7 +799,7 @@ class WorkerController extends Controller $worker->updated_at = Carbon::now(); $worker->save(); // 0 - return redirect()->route('worker.cabinet')->with('success', 'Ваша анкета была поднята выше остальных'); + return redirect()->route('worker.cabinet')->with('success', 'Резюме подняли'); } // Форма сертификате @@ -881,7 +881,7 @@ class WorkerController extends Controller ); } - return redirect()->route('worker.additional_documents')->with('success', 'Успешно сохранено!'); + return redirect()->route('worker.cabinet')->with('success', 'Успешно сохранено!'); } public function subscribe() { diff --git a/public/css/general.css b/public/css/general.css index 6559619..e3d0050 100644 --- a/public/css/general.css +++ b/public/css/general.css @@ -60,3 +60,7 @@ margin-top: 0; margin-bottom: 15px; } + +.sertificate-form-inputs { + align-items: normal!important; +} diff --git a/resources/views/workers/cabinet.blade.php b/resources/views/workers/cabinet.blade.php index 00700c1..2b5800a 100644 --- a/resources/views/workers/cabinet.blade.php +++ b/resources/views/workers/cabinet.blade.php @@ -1,6 +1,10 @@ @extends('layout.frontend', ['title' => 'Моя анкета - РекаМоре']) @section('scripts') +@include('modals.flash-message', [ + 'title' => 'Успешно!', + 'message' => session('success') +]) +@endsection -- 1.7.10.4