-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8561347
commit a5b3201
Showing
5 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)-> configureContainer( | ||
( | ||
new \B13\Container\Tca\ContainerConfiguration( | ||
'2col-left-container', | ||
'2 Column left Container', | ||
'Insert an element dividing the content area into one small col left and one big col right', | ||
[ | ||
[ | ||
['name' => 'Left Column', 'colPos' => 201], | ||
['name' => 'Right Column', 'colPos' => 202] | ||
] | ||
] | ||
) | ||
) | ||
->setIcon('EXT:container/Resources/Public/Icons/container-2col-left.svg') | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\B13\Container\Tca\Registry::class)-> configureContainer( | ||
( | ||
new \B13\Container\Tca\ContainerConfiguration( | ||
'2col-right-container', | ||
'2 Column right Container', | ||
'Insert an element dividing the content area into one small col right and one big col left', | ||
[ | ||
[ | ||
['name' => 'Left Column', 'colPos' => 201], | ||
['name' => 'Right Column', 'colPos' => 202] | ||
] | ||
] | ||
) | ||
) | ||
->setIcon('EXT:container/Resources/Public/Icons/container-2col-right.svg') | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Resources/Private/Templates/Container/2col-left-container.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="container"> | ||
<div class="row {f:if(condition:'{data.layout}==1',then:'no-gutters')}"> | ||
<div class="col-md-3 col-sm-3 col-xs-12 col-lg-3"> | ||
<f:for each="{children_201}" as="element"> | ||
{element.renderedContent -> f:format.raw()} | ||
</f:for> | ||
</div> | ||
<div class="col-md-9 col-sm-9 col-xs-12 col-lg-9"> | ||
<f:for each="{children_202}" as="element"> | ||
{element.renderedContent -> f:format.raw()} | ||
</f:for> | ||
</div> | ||
</div> | ||
</div> |
12 changes: 12 additions & 0 deletions
12
Resources/Private/Templates/Container/2col-right-container.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div class="row {f:if(condition:'{data.layout}==1',then:'no-gutters')}"> | ||
<div class="col-md-9 col-sm-9 col-xs-12 col-lg-9"> | ||
<f:for each="{children_201}" as="element"> | ||
{element.renderedContent -> f:format.raw()} | ||
</f:for> | ||
</div> | ||
<div class="col-md-3 col-sm-3 col-xs-12 col-lg-3"> | ||
<f:for each="{children_202}" as="element"> | ||
{element.renderedContent -> f:format.raw()} | ||
</f:for> | ||
</div> | ||
</div> |