mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Reorganised home and robots views
Extracted home view sidebar into own view. Moved home and robot views into 'common' folder so that we only have layouts in the top-level views folder.
This commit is contained in:
19
resources/views/common/home-custom.blade.php
Normal file
19
resources/views/common/home-custom.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
@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
|
||||
|
||||
@section('body')
|
||||
<div class="page-content" page-display="{{ $customHomepage->id }}">
|
||||
@include('pages/page-display', ['page' => $customHomepage])
|
||||
</div>
|
||||
@stop
|
Reference in New Issue
Block a user