Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛠️ [WIP][TASK] Use asset view helpers to apply inline styles #1438

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<f:variable name="styles" value="{variantStyle -> f:format.trim()} {styles}"/>
</f:if>
</f:for>
<f:comment><!-- check for TYPO3 version instead of class name --></f:comment>
<bk2k:condition.classExists class="TYPO3\CMS\Fluid\ViewHelpers\Security\NonceViewHelper">
<f:then>
<f:render partial="Carousel/General/BackgroundImageStyleNonce" arguments="{_all}" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<style nonce="{f:security.nonce()}">{styles -> f:format.raw()}</style>
<f:comment><!-- should the identifier different, e.g. using some additional {identifier}? --></f:comment>
<f:asset.css identifier="bootstrap-package-general-background-image" useNonce="1">{styles -> f:format.raw()}</f:asset.css>
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<style nonce="{f:security.nonce()}">{styles -> f:format.raw()}</style>
<f:comment><!-- should the identifier different, e.g. using some additional {identifier}? --></f:comment>
<f:asset.css identifier="bootstrap-package-frame-background-image" useNonce="1">{styles -> f:format.raw()}</f:asset.css>