summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorhorus2020-04-07 23:19:38 +0200
committerhorus2020-04-07 23:19:38 +0200
commit6b72943bbaa36fcbbc48b1cc3018ac72c40b1628 (patch)
tree18aa47b3ee0392560cf32869a6ca303f258a5f2f /resources
parent82adcb68692c9c19aaa785beb6245bf666a7840d (diff)
downloadsenpai-6b72943bbaa36fcbbc48b1cc3018ac72c40b1628.tar.gz
Paginate results.
Diffstat (limited to 'resources')
-rw-r--r--resources/views/index.blade.php2
-rw-r--r--resources/views/index_anime.blade.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php
index 120c989..9e79ab9 100644
--- a/resources/views/index.blade.php
+++ b/resources/views/index.blade.php
@@ -2,7 +2,7 @@
@section('content')
<div class="container" id="index">
- <h1>Anime Schedule</h1>
+ <h1>Something about anime</h1>
<p>fyi: it works!</p>
<a href="/anime">Link to anime stats</a>
diff --git a/resources/views/index_anime.blade.php b/resources/views/index_anime.blade.php
index 8b0a587..05c30a2 100644
--- a/resources/views/index_anime.blade.php
+++ b/resources/views/index_anime.blade.php
@@ -22,5 +22,7 @@
</div>
</div>
@endforeach
+
+{{ $all_anime->links() }}
</div>
@endsection