-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Possibility to add icon in the middle of the divider
- Loading branch information
dmytro
committed
May 5, 2016
1 parent
ad149ce
commit ccf788d
Showing
5 changed files
with
89 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,28 @@ | ||
<T3DataStructure> | ||
<meta> | ||
<langDisable>1</langDisable> | ||
</meta> | ||
<sheets> | ||
<sDEF> | ||
<ROOT> | ||
<TCEforms> | ||
<sheetTitle>LLL:EXT:theme_t3kit/Resources/Private/Language/ContentElements.xlf:iconTextButton.flexform.sheetGeneral</sheetTitle> | ||
</TCEforms> | ||
<type>array</type> | ||
<el> | ||
<iconClass> | ||
<TCEforms> | ||
<label>LLL:EXT:theme_t3kit/Resources/Private/Language/ContentElements.xlf:iconTextButton.flexform.iconClass</label> | ||
<config> | ||
<type>user</type> | ||
<userFunc>T3kit\T3kitExtensionTools\UserFunction\IconFontSelector->renderField</userFunc> | ||
<cssFile>EXT:theme_t3kit/Resources/Public/felayout_t3kit/fonts/style.css</cssFile> | ||
<isIcoMoon>1</isIcoMoon> | ||
</config> | ||
</TCEforms> | ||
</iconClass> | ||
</el> | ||
</ROOT> | ||
</sDEF> | ||
</sheets> | ||
</T3DataStructure> |
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,5 @@ | ||
TCEFORM.tt_content.pi_flexform.div.sDEF.iconClass { | ||
addItems { | ||
0 = LLL:EXT:theme_t3kit/Resources/Private/Language/ContentElements.xlf:div.flexform.iconClass_none | ||
} | ||
} |
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 @@ | ||
tt_content { | ||
div =< lib.fluidContent | ||
div { | ||
templateName = Div | ||
|
||
dataProcessing { | ||
10 = T3kit\T3kitExtensionTools\DataProcessing\FlexFormProcessor | ||
10 { | ||
fieldName = pi_flexform | ||
as = settings | ||
} | ||
} | ||
} | ||
} |
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
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,18 @@ | ||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true"> | ||
<f:layout name="ContentFooter" /> | ||
|
||
<f:section name="content"> | ||
<f:if condition="{settings.iconClass}"> | ||
<f:then> | ||
<div class="divider"> | ||
<div class="divider__wrp"> | ||
<span class="divider__icon icons icon-{settings.iconClass}"></span> | ||
</div> | ||
</div> | ||
</f:then> | ||
<f:else> | ||
<hr class="ce-div" /> | ||
</f:else> | ||
</f:if> | ||
</f:section> | ||
</html> |