mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
23148b959a
--- http://open.silverstripe.org/ticket/7214 Added watermark to show current state of preview. Removed button styling from Draft and Preview and added styling to show current selected state. Designs signed off by Paul Conflicts: admin/css/screen.css
12 lines
413 B
Scheme
12 lines
413 B
Scheme
<div class="cms-navigator">
|
|
<a href="#" class="ss-ui-button cms-preview-toggle-link" data-icon="preview">
|
|
« <% _t('SilverStripeNavigator.Edit', 'Edit') %>
|
|
</a>
|
|
<ul class="cms-preview-states">
|
|
<% control Items %>
|
|
<li class="<% if isActive %> active<% end_if %>">$HTML
|
|
<% if Watermark %><span class="cms-preview-watermark">$Watermark</span><% end_if %>
|
|
</li>
|
|
<% end_control %>
|
|
</ul>
|
|
</div> |