silverstripe-framework/templates/Includes/LeftAndMain_ViewModeSelector.ss

13 lines
974 B
Scheme
Raw Normal View History

<span id="$SelectID" class="preview-mode-selector preview-selector field dropdown">
2015-07-22 14:51:34 +02:00
<select title="<%t SilverStripeNavigator.ChangeViewMode 'Change view mode' %>" id="$SelectID-select" class="preview-dropdown dropdown nolabel no-change-track" autocomplete="off" name="Action">
2015-08-31 23:46:39 +02:00
<option data-icon="font-icon-columns" class="font-icon-columns icon-view first" value="split"><%t SilverStripeNavigator.SplitView 'Split mode' %></option>
<option data-icon="font-icon-eye" class="font-icon-eye icon-view" value="preview"><%t SilverStripeNavigator.PreviewView 'Preview mode' %></option>
<option data-icon="font-icon-edit-write" class="font-icon-edit-write icon-view last" value="content"><%t SilverStripeNavigator.EditView 'Edit mode' %></option>
<!-- Dual window not implemented yet -->
<!--
2015-07-22 14:51:34 +02:00
<option data-icon="icon-window" class="icon-window icon-view last" value="window"><%t SilverStripeNavigator.DualWindowView 'Dual Window' %></option>
-->
</select>
</span>