mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
9d77ff3b90
This accompanies a logic patch in the admin module to ensure that when no preview state is available for a pagetype, it renders a message stating this. Previously a broken layout would appear instead.
17 lines
671 B
Scheme
17 lines
671 B
Scheme
<div class="cms-preview fill-height flexbox-area-grow" data-layout-type="border">
|
|
<div class="panel flexbox-area-grow fill-height">
|
|
<div class="preview-note">
|
|
<div class="icon font-icon-monitor display-1"></div>
|
|
<%t SilverStripe\CMS\Controllers\CMSPageHistoryController.NO_PREVIEW 'No preview available' %>
|
|
</div>
|
|
<div class="preview__device">
|
|
<div class="preview-device-outer">
|
|
<div class="preview-device-inner">
|
|
<iframe src="about:blank" class="center" name="cms-preview-iframe"></iframe>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="toolbar toolbar--south cms-content-controls cms-preview-controls"></div>
|
|
</div>
|