mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-02 09:07:53 +08:00
56df64063d
Extracted design and base styles from image manager into generic popup classes that can be used by other app components such as the new popup Book/Chapter/Page link selector
36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
@extends('base')
|
|
|
|
@section('head')
|
|
<script src="{{ baseUrl('/libs/tinymce/tinymce.min.js?ver=4.3.7') }}"></script>
|
|
@stop
|
|
|
|
@section('body-class', 'flexbox')
|
|
|
|
@section('content')
|
|
|
|
<div class="flex-fill flex">
|
|
<form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
|
|
@if(!isset($isDraft))
|
|
<input type="hidden" name="_method" value="PUT">
|
|
@endif
|
|
@include('pages/form', ['model' => $page])
|
|
@include('pages/form-toolbox')
|
|
</form>
|
|
|
|
|
|
</div>
|
|
@include('partials/image-manager', ['imageType' => 'gallery', 'uploaded_to' => $page->id])
|
|
|
|
<div id="entity-selector-wrap">
|
|
<div class="overlay">
|
|
<div class="popup-body small flex-child">
|
|
<div class="popup-header primary-background">
|
|
<div class="popup-title">Entity Select</div>
|
|
<button class="popup-close neg button">x</button>
|
|
</div>
|
|
@include('partials/entity-selector', ['name' => 'entity-selector'])
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
@stop |