2015-08-12 13:48:26 -04:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
2015-08-13 02:44:10 -04:00
|
|
|
|
2016-02-20 07:37:06 -05:00
|
|
|
<div class="faded-small toolbar">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-4 faded">
|
|
|
|
<div class="action-buttons text-left">
|
|
|
|
<a data-action="expand-entity-list-details" class="text-primary text-button"><i class="zmdi zmdi-wrap-text"></i>Toggle Details</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-sm-8 faded">
|
|
|
|
<div class="action-buttons">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-12-30 16:38:20 -05:00
|
|
|
<div class="container" ng-non-bindable>
|
2015-08-30 12:53:30 -04:00
|
|
|
<div class="row">
|
2015-11-21 12:22:14 -05:00
|
|
|
|
2016-02-20 07:37:06 -05:00
|
|
|
<div class="col-sm-4">
|
2016-03-13 08:04:08 -04:00
|
|
|
<div id="recent-drafts">
|
|
|
|
@if(count($draftPages) > 0)
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4>My Recent Drafts</h4>
|
2016-03-13 08:04:08 -04:00
|
|
|
@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact'])
|
|
|
|
@endif
|
|
|
|
</div>
|
2015-11-21 13:05:03 -05:00
|
|
|
@if($signedIn)
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4>My Recently Viewed</h4>
|
2015-11-21 13:05:03 -05:00
|
|
|
@else
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4>Recent Books</h4>
|
2015-11-21 13:05:03 -05:00
|
|
|
@endif
|
2016-07-03 05:12:12 -04:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recents,
|
|
|
|
'style' => 'compact',
|
|
|
|
'emptyText' => $signedIn ? 'You have not viewed any pages' : 'No books have been created'
|
|
|
|
])
|
2016-02-20 07:37:06 -05:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-4">
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-created") }}">Recently Created Pages</a></h4>
|
2016-03-05 17:54:53 -05:00
|
|
|
<div id="recently-created-pages">
|
2016-07-03 05:12:12 -04:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recentlyCreatedPages,
|
|
|
|
'style' => 'compact',
|
|
|
|
'emptyText' => 'No pages have been recently created'
|
|
|
|
])
|
2016-03-05 17:54:53 -05:00
|
|
|
</div>
|
2016-02-20 13:51:01 -05:00
|
|
|
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-updated") }}">Recently Updated Pages</a></h4>
|
2016-03-05 17:54:53 -05:00
|
|
|
<div id="recently-updated-pages">
|
2016-07-03 05:12:12 -04:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recentlyUpdatedPages,
|
|
|
|
'style' => 'compact',
|
|
|
|
'emptyText' => 'No pages have been recently updated'
|
|
|
|
])
|
2016-03-05 17:54:53 -05:00
|
|
|
</div>
|
2015-08-16 15:11:21 -04:00
|
|
|
</div>
|
2015-11-21 12:22:14 -05:00
|
|
|
|
2016-02-20 07:37:06 -05:00
|
|
|
<div class="col-sm-4" id="recent-activity">
|
2016-09-18 09:49:36 -04:00
|
|
|
<h4>Recent Activity</h4>
|
2015-08-30 12:53:30 -04:00
|
|
|
@include('partials/activity-list', ['activity' => $activity])
|
|
|
|
</div>
|
2015-11-21 12:22:14 -05:00
|
|
|
|
2015-08-16 15:11:21 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-13 02:44:10 -04:00
|
|
|
|
2015-08-30 12:53:30 -04:00
|
|
|
|
2015-08-12 13:48:26 -04:00
|
|
|
@stop
|