silverstripe-framework/admin/templates/Includes/LeftAndMain_SilverStripeNavigator.ss
Ingo Schommer 23148b959a Merge pull request #402 from ohararyan/sapphire
---

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
2012-05-07 13:01:00 +02:00

12 lines
413 B
Scheme

<div class="cms-navigator">
<a href="#" class="ss-ui-button cms-preview-toggle-link" data-icon="preview">
&laquo; <% _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>