Loading app/Http/Controllers/DivesList.php +6 −3 Original line number Diff line number Diff line Loading @@ -48,9 +48,12 @@ function showManagementList() { function filter(Request $request) { $location = $request->input('location_filter'); $location = $request->input('location_filter'); $location = $request->input('location_filter'); $location = $request->input('location_filter'); $creneau = $request->input('creneau_filter'); $level = $request->input('level_filter'); $date = $request->input('date_filter'); if ($location == null && $creneau == null && $level == null && $date == null) { return redirect()->route('dives'); } $dives = DivingSession::select('DS_CODE', 'DS_ACTIVE', 'CAR_DIVING_SESSION.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME', 'DS_MAX_DEPTH') ->join('CAR_DIVING_LOCATION', 'CAR_DIVING_SESSION.DL_ID', '=', 'CAR_DIVING_LOCATION.DL_ID') ->where('DS_ACTIVE', 1) Loading public/images/dodo.mov 0 → 100644 +1.41 MiB File added.No diff preview for this file type. View file resources/views/dodo.blade.php 0 → 100644 +5 −0 Original line number Diff line number Diff line <x-layout> <div class="flex justify-center"> <video src="{{ asset('/images/dodo.mov') }}" controls autoplay class="rounded-lg shadow"></video> </div> </x-layout> routes/web.php +5 −0 Original line number Diff line number Diff line Loading @@ -210,3 +210,8 @@ Route::middleware('App\Http\Middleware\RightChecker') ->get('manage/dives', [DivesList::class, 'showManagementList']) ->name('manage_dives_dir'); Route::middleware('App\Http\Middleware\RightChecker') ->get('dodo', function () { return view('dodo'); }); Loading
app/Http/Controllers/DivesList.php +6 −3 Original line number Diff line number Diff line Loading @@ -48,9 +48,12 @@ function showManagementList() { function filter(Request $request) { $location = $request->input('location_filter'); $location = $request->input('location_filter'); $location = $request->input('location_filter'); $location = $request->input('location_filter'); $creneau = $request->input('creneau_filter'); $level = $request->input('level_filter'); $date = $request->input('date_filter'); if ($location == null && $creneau == null && $level == null && $date == null) { return redirect()->route('dives'); } $dives = DivingSession::select('DS_CODE', 'DS_ACTIVE', 'CAR_DIVING_SESSION.DL_ID', 'DS_DATE', 'DL_DEPTH', 'CAR_SCHEDULE', 'DL_NAME', 'DS_MAX_DEPTH') ->join('CAR_DIVING_LOCATION', 'CAR_DIVING_SESSION.DL_ID', '=', 'CAR_DIVING_LOCATION.DL_ID') ->where('DS_ACTIVE', 1) Loading
resources/views/dodo.blade.php 0 → 100644 +5 −0 Original line number Diff line number Diff line <x-layout> <div class="flex justify-center"> <video src="{{ asset('/images/dodo.mov') }}" controls autoplay class="rounded-lg shadow"></video> </div> </x-layout>
routes/web.php +5 −0 Original line number Diff line number Diff line Loading @@ -210,3 +210,8 @@ Route::middleware('App\Http\Middleware\RightChecker') ->get('manage/dives', [DivesList::class, 'showManagementList']) ->name('manage_dives_dir'); Route::middleware('App\Http\Middleware\RightChecker') ->get('dodo', function () { return view('dodo'); });