silverstripe-reports/templates/ReportAdminForm.ss
Sam Minnee d05c921226 BUGFIX: Add horizontal scrolling to reports when necessary. (from r96075)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98183 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:52:35 +13:00

45 lines
1.0 KiB
Scheme

<form $FormAttributes>
<p style="display: none;" class="message " id="Form_EditForm_error"/>
<div id="ScrollPanel">
<fieldset>
$FieldMap.ReportTitle.FieldHolder
$FieldMap.ReportDescription.FieldHolder
<!-- Filters -->
<% if FieldMap.Filters.Children %>
<div style="border-bottom: 1px #AAA solid"><b>Filter by</b></div>
<% control FieldMap.Filters %>
<% control Children %>
<div style="float: left; margin: 5px 10px 10px 0; height: 35px">
<label for="$ID" style="font-weight: bold; display: block">$Title</label>
$Field
</div>
<% end_control %>
<% end_control %>
<div id="action_updatereport" style="float: left; margin: 1px 10px 10px 0">
<br />
<% if FieldMap.action_updatereport %>
$FieldMap.action_updatereport.Field
<% end_if %>
</div>
<div style="clear: both">&nbsp;</div>
<% end_if %>
$FieldMap.ReportContent.FieldHolder
<% control HiddenFields %>$Field<% end_control %>
</fieldset>
</div>
<div class="clear"><!-- --></div>
</form>