From 59ab2e15362bae2ea87522e9ffe44203ac8c8533 Mon Sep 17 00:00:00 2001 From: ro Date: Fri, 16 May 2025 17:55:11 -0600 Subject: [PATCH] url fix for page browser ui the ui that is for browsing available pages was using the old url from the previous routing set up and needed to be updated --- resources/views/back/book.blade.php | 152 ++++++++++++++-------------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/resources/views/back/book.blade.php b/resources/views/back/book.blade.php index 39b86fa..b2fa5fc 100644 --- a/resources/views/back/book.blade.php +++ b/resources/views/back/book.blade.php @@ -1,88 +1,88 @@ -@extends('frame') +@extends('frame') @section('title', 'Pages') - @section('main-content') -
-
- {{ $result['paginate']['sort'] }} - Pages -
-
-
- @foreach($result['pages'] as $page) - @php + @section('main-content') +
+
+ {{$result['paginate']['sort']}} + Pages +
+
+
+ @foreach($result['pages'] as $page) + @php $type = ''; $file = ''; isset($page['media'][0]['type']) ? $type = $page['media'][0]['type'] : $type = ''; isset($page['media'][0]['file']) ? $file = $page['media'][0]['file'] : $file = ''; - @endphp - @if($type =='mp4') - -
- @endsection + + + {{$currentPage}} + of + {{$result['numOfPages']}} + + + + + + + + @endif +
+ @endsection \ No newline at end of file