silverstripe-cms/templates/WidgetAreaEditor.ss
Andrew O'Neil 9de10f467c #1428 - 'Available widgets' is good, but 'Used widgets' is confusing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39566 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-02 22:28:38 +00:00

25 lines
751 B
Scheme

<div class="WidgetAreaEditor" id="WidgetAreaEditor" name="$Name">
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
<div class="availableWidgetsHolder">
<h2>Available Widgets</h2>
<div class="availableWidgets" id="WidgetAreaEditor_availableWidgets">
<% control AvailableWidgets %>
$DescriptionSegment
<% end_control %>
</div>
</div>
<div class="usedWidgetsHolder">
<h2>Widgets currently used</h2>
<div class="usedWidgets" id="WidgetAreaEditor_usedWidgets">
<% if UsedWidgets %>
<% control UsedWidgets %>
$EditableSegment
<% end_control %>
<% else %>
<div id="NoWidgets">
<p>To add widgets, drag them from the left area to here.</p>
</div>
<% end_if %>
</div>
</div>
</div>