mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
bbc3aaaf9f
The main benefit of this is so that authors who make use of .editorconfig don't end up with whitespace changes in their PRs. Spaces vs. tabs has been left alone, although that could do with a tidy-up in SS4 after the switch to PSR-1/2. The command used was this: for match in '*.ss' '*.css' '*.scss' '*.html' '*.yml' '*.php' '*.js' '*.csv' '*.inc' '*.php5'; do find . -path ./thirdparty -prune -o -type f -name "$match" -exec sed -i '' 's/[[:space:]]\+$//' {} \+ find . -path ./thirdparty -prune -o -type f -name "$match" | xargs perl -pi -e 's/ +$//' done
27 lines
786 B
Scheme
27 lines
786 B
Scheme
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
|
|
<head>
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
|
<% base_tag %>
|
|
<title>Print</title>
|
|
</head>
|
|
|
|
<%-- <body onload="window.print();"> --%>
|
|
<body>
|
|
<% with $Form.Controller %>
|
|
<h1 style="margin-bottom: 0">$CurrentReport.Title</h1>
|
|
<% with $CurrentReport.getCmsFields %>
|
|
<% if $Name == Filters %>
|
|
<h2 style="margin-bottom: 0; margin-top: 0;">Filters</h2>
|
|
<ul style="margin-top: 0">
|
|
<% loop $FieldSet %>
|
|
<li>$Title = $performReadonlyTransformation.Field</li>
|
|
<% end_loop %>
|
|
</ul>
|
|
<% end_if %>
|
|
<% end_with %>
|
|
<% end_with %>
|
|
<% include TableListField %>
|
|
</body>
|
|
</html>
|