Loading resources/views/dives.blade.php +6 −3 Original line number Diff line number Diff line Loading @@ -71,6 +71,12 @@ class="w-full py-2.5 px-4 text-sm bg-gray-300 rounded-md focus:outline-none focu </label> </div> @if (Session::has('Success') && Session::get('DS_CODE') == $dive->DS_CODE) <div style="margin-bottom: 40px"> <x-popup>{{ Session::get('Success') }}</x-popup> </div> @endif <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> <table class="text-sm text-left text-gray-500 w-full"> <thead class="text-xs text-gray-700 uppercase bg-gray-50"> Loading Loading @@ -207,9 +213,6 @@ class="aligne m-1 bg-gray-400 hover:bg-gray-500 </ul> </div> @endif @if (Session::has('Success') && Session::get('DS_CODE') == $dive->DS_CODE) <div class="text-green-500">{{ Session::get('Success') }}</div> @endif </td> </tr> <x-drop-down id="dropdown{{ $dive->DS_CODE }}"> Loading routes/web.php +3 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,9 @@ * Delete a diving session. * @param $id the code of the diving session */ Route::post('/dive/delete/{id}', function ($id, Request $request) { Route::post('/dive/delete/{id}', function ($id, Request $request) { $res = DivingSession::disable($id); return redirect('/create/dive'); }); Loading Loading
resources/views/dives.blade.php +6 −3 Original line number Diff line number Diff line Loading @@ -71,6 +71,12 @@ class="w-full py-2.5 px-4 text-sm bg-gray-300 rounded-md focus:outline-none focu </label> </div> @if (Session::has('Success') && Session::get('DS_CODE') == $dive->DS_CODE) <div style="margin-bottom: 40px"> <x-popup>{{ Session::get('Success') }}</x-popup> </div> @endif <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> <table class="text-sm text-left text-gray-500 w-full"> <thead class="text-xs text-gray-700 uppercase bg-gray-50"> Loading Loading @@ -207,9 +213,6 @@ class="aligne m-1 bg-gray-400 hover:bg-gray-500 </ul> </div> @endif @if (Session::has('Success') && Session::get('DS_CODE') == $dive->DS_CODE) <div class="text-green-500">{{ Session::get('Success') }}</div> @endif </td> </tr> <x-drop-down id="dropdown{{ $dive->DS_CODE }}"> Loading
routes/web.php +3 −1 Original line number Diff line number Diff line Loading @@ -194,7 +194,9 @@ * Delete a diving session. * @param $id the code of the diving session */ Route::post('/dive/delete/{id}', function ($id, Request $request) { Route::post('/dive/delete/{id}', function ($id, Request $request) { $res = DivingSession::disable($id); return redirect('/create/dive'); }); Loading