mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
2d3365f7b2
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@95086 467b73ca-7a2a-4603-9d3b-597d59a354a9
32 lines
970 B
Scheme
32 lines
970 B
Scheme
<div class="WidgetAreaEditor" id="WidgetAreaEditor-$Name" name="$Name"<% if MaxWidgets %> maxwidgets="$MaxWidgets"<% end_if %>>
|
|
<input type="hidden" id="$Name" name="$IdxField" value="$Value" />
|
|
<div class="availableWidgetsHolder">
|
|
<h2>$AvailableTitle</h2>
|
|
<p> </p>
|
|
<div class="availableWidgets" id="availableWidgets-$Name">
|
|
<% if AvailableWidgets %>
|
|
<% control AvailableWidgets %>
|
|
$DescriptionSegment
|
|
<% end_control %>
|
|
<% else %>
|
|
<div class="NoWidgets" id="NoWidgets-$Name">
|
|
<p><% _t('NOAVAIL', 'There are currently no widgets available.') %></p>
|
|
</div>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
<div class="usedWidgetsHolder">
|
|
<h2>$InUseTitle</h2>
|
|
<p>$ToAddTitle</p>
|
|
|
|
<div class="usedWidgets" id="usedWidgets-$Name">
|
|
<% if UsedWidgets %>
|
|
<% control UsedWidgets %>
|
|
$EditableSegment
|
|
<% end_control %>
|
|
<% else %>
|
|
<div class="NoWidgets" id="NoWidgets-$Name"></div>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
</div> |