mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
4461cae31b
ENHANCEMENT New "preview" and "edit" buttons to toggle between preview and cms views. Reinstated utility links to switch between draft and live preview (based on SilverStripeNavigator) (formerly called "AjaxSwitchView")
56 lines
1.4 KiB
Scheme
Executable File
56 lines
1.4 KiB
Scheme
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-language" content="$i18nLocale" />
|
|
<% base_tag %>
|
|
<title>$Title</title>
|
|
</head>
|
|
|
|
<body class="loading cms">
|
|
|
|
<% include CMSLoadingScreen %>
|
|
|
|
<div class="cms-container center" data-layout="{type: 'border'}">
|
|
|
|
<div class="cms-preview-header north">
|
|
Caution! The CMS is in alpha stage, and might not behave as expected. Get updates on the
|
|
<a href="https://groups.google.com/forum/#!forum/silverstripe-dev">developer mailinglist</a>
|
|
and help us by
|
|
<a href="http://silverstripe.org/contribute">contributing</a> and
|
|
<a href="http://open.silverstripe.org">reporting bugs</a>.
|
|
</div>
|
|
|
|
$Menu
|
|
|
|
$Content
|
|
|
|
<div class="cms-preview east <% if IsPreviewExpanded %>is-expanded<% else %>is-collapsed<% end_if %>" data-layout="{type: 'border'}">
|
|
<iframe src="$PreviewLink" class="center"></iframe>
|
|
<div class="cms-preview-controls south"></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="cms-editor-dialogs">
|
|
<% control EditorToolbar %>
|
|
$ImageForm
|
|
$LinkForm
|
|
$FlashForm
|
|
<% end_control %>
|
|
</div>
|
|
|
|
<!-- <div class="ss-cms-bottom-bar">
|
|
<div class="holder">
|
|
<div id="switchView" class="bottomTabs">
|
|
<% if ShowSwitchView %>
|
|
<div class="blank"> <% _t('VIEWPAGEIN','Page view:') %> </div>
|
|
<span id="SwitchView">$SwitchView</span>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
</div> -->
|
|
|
|
</body>
|
|
</html>
|