X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b0808a1c24b8f6f7dee0002eeded07521960b6cf..refs/pull/205/head:/resources/views/home.blade.php diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index f3195b059..2fb4ac855 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -1,15 +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') - @include('pages/image-manager') -
- - @stop \ No newline at end of file