X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/59184fa6a94a7a8da034dc0271d9b85f58092d0f..refs/pull/205/head:/resources/views/home.blade.php diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 8466c6d88..2fb4ac855 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,14 +1,73 @@ @extends('base') @section('content') -
-@stop + +
+
+
+
+ +
+
+
+ +
+
+
+
+
+ +
+
+ +
+
+ @if(count($draftPages) > 0) +

My Recent Drafts

+ @include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact']) + @endif +
+ @if($signedIn) +

My Recently Viewed

+ @else +

Recent Books

+ @endif + @include('partials/entity-list', [ + 'entities' => $recents, + 'style' => 'compact', + 'emptyText' => $signedIn ? 'You have not viewed any pages' : 'No books have been created' + ]) +
+ +
+

Recently Created Pages

+
+ @include('partials/entity-list', [ + 'entities' => $recentlyCreatedPages, + 'style' => 'compact', + 'emptyText' => 'No pages have been recently created' + ]) +
+ +

Recently Updated Pages

+
+ @include('partials/entity-list', [ + 'entities' => $recentlyUpdatedPages, + 'style' => 'compact', + 'emptyText' => 'No pages have been recently updated' + ]) +
+
+ +
+

Recent Activity

+ @include('partials/activity-list', ['activity' => $activity]) +
+ +
+
-@section('bottom') -
- - @stop \ No newline at end of file