]> BookStack Code Mirror - bookstack/blobdiff - resources/views/pages/show.blade.php
Add prev and next button to navigate through different pages
[bookstack] / resources / views / pages / show.blade.php
index 13125464a7114396012f3685fa56e38ae23b81b9..38e819a9e1baecd2dc6d037409cc97fe3770ca43 100644 (file)
             @include('pages.page-display')
         </div>
     </main>
+       
+    <div class="prev-next-btn">
+        <div class="grid third no-row-gap prev-next">
+            <div class="text-m-left">
+                <a class="{{ $disablePrev }}" href="{{ $prevPage }}">Previous Page</a>
+            </div>
+            <div></div>
+            <div class="text-m-right">
+                <a class="{{ $disableNxt }}" href="{{ $nextPage }}">Next Page</a>
+            </div>
+        </div>
+    </div>
 
     @if ($commentsEnabled)
         <div class="container small p-none comments-container mb-l print-hidden">