mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Updated custom homepage views
This commit is contained in:
@@ -1,19 +1,29 @@
|
||||
@extends('sidebar-layout')
|
||||
|
||||
@section('toolbar')
|
||||
<div class="col-sm-6 faded">
|
||||
<div class="action-buttons text-left">
|
||||
<a expand-toggle=".entity-list.compact .entity-item-snippet" class="text-primary text-button">@icon('expand-text'){{ trans('common.toggle_details') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('sidebar')
|
||||
@include('common/home-sidebar')
|
||||
@stop
|
||||
@extends('simple-layout')
|
||||
|
||||
@section('body')
|
||||
<div class="page-content" page-display="{{ $customHomepage->id }}">
|
||||
@include('pages/page-display', ['page' => $customHomepage])
|
||||
<div class="container mt-l">
|
||||
<div class="grid right-focus gap-xl">
|
||||
<div>
|
||||
|
||||
<div class="actions mb-xl">
|
||||
<h5>{{ trans('common.actions') }}</h5>
|
||||
<div class="icon-list text-primary">
|
||||
<a expand-toggle=".entity-list.compact .entity-item-snippet" class="icon-list-item">
|
||||
<span>@icon('expand-text')</span>
|
||||
<span>{{ trans('common.toggle_details') }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('common.home-sidebar')
|
||||
</div>
|
||||
<div>
|
||||
<div class="content-wrap card">
|
||||
<div class="page-content" page-display="{{ $customHomepage->id }}">
|
||||
@include('pages.page-display', ['page' => $customHomepage])
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
@stop
|
Reference in New Issue
Block a user