mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-28 03:25:47 +08:00
1d681e53e4
Changed header selection in editor to be more descriptive and to provide a wider range of styles. Closes #68
73 lines
2.6 KiB
PHP
73 lines
2.6 KiB
PHP
@extends('base')
|
|
|
|
@section('content')
|
|
|
|
<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>
|
|
|
|
<div class="container" ng-non-bindable>
|
|
<div class="row">
|
|
|
|
<div class="col-sm-4">
|
|
<div id="recent-drafts">
|
|
@if(count($draftPages) > 0)
|
|
<h4>My Recent Drafts</h4>
|
|
@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact'])
|
|
@endif
|
|
</div>
|
|
@if($signedIn)
|
|
<h4>My Recently Viewed</h4>
|
|
@else
|
|
<h4>Recent Books</h4>
|
|
@endif
|
|
@include('partials/entity-list', [
|
|
'entities' => $recents,
|
|
'style' => 'compact',
|
|
'emptyText' => $signedIn ? 'You have not viewed any pages' : 'No books have been created'
|
|
])
|
|
</div>
|
|
|
|
<div class="col-sm-4">
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-created") }}">Recently Created Pages</a></h4>
|
|
<div id="recently-created-pages">
|
|
@include('partials/entity-list', [
|
|
'entities' => $recentlyCreatedPages,
|
|
'style' => 'compact',
|
|
'emptyText' => 'No pages have been recently created'
|
|
])
|
|
</div>
|
|
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-updated") }}">Recently Updated Pages</a></h4>
|
|
<div id="recently-updated-pages">
|
|
@include('partials/entity-list', [
|
|
'entities' => $recentlyUpdatedPages,
|
|
'style' => 'compact',
|
|
'emptyText' => 'No pages have been recently updated'
|
|
])
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-sm-4" id="recent-activity">
|
|
<h4>Recent Activity</h4>
|
|
@include('partials/activity-list', ['activity' => $activity])
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@stop |