mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
Reorgranised blade view files to form a convention
- Primarily moved and re-organised view files. - Included readme within views to document the convention. - Fixed some issues with page field select list in previous commit. - Tweaked some route names while going through. - Split some views out further. Closes #2805
This commit is contained in:
25
resources/views/home/specific-page.blade.php
Normal file
25
resources/views/home/specific-page.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
@extends('layouts.tri')
|
||||
|
||||
@section('body')
|
||||
<div class="mt-m">
|
||||
<main class="content-wrap card">
|
||||
<div class="page-content" page-display="{{ $customHomepage->id }}">
|
||||
@include('pages.parts.page-display', ['page' => $customHomepage])
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
@stop
|
||||
|
||||
@section('left')
|
||||
@include('home.parts.sidebar')
|
||||
@stop
|
||||
|
||||
@section('right')
|
||||
<div class="actions mb-xl">
|
||||
<h5>{{ trans('common.actions') }}</h5>
|
||||
<div class="icon-list text-primary">
|
||||
@include('home.parts.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
|
||||
@include('common.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
Reference in New Issue
Block a user