[FEATURE] Fluid based Module Template
A new class structure around "ModuleTemplate" is introduced to substitute the rusty "DocumentTemplate". The architecture can be seen as wrapper around the main html content a backend controller action creates. ModuleTemplate provides an API especially for the "doc header" and unifies its display and creation. The patch releases single controller actions from fiddling with doc header details like actual button HTML and hands over this concern to the framework, so it can steer these parts at a central place. Since this API and its embedding in the framework is a rather complex task that will require further tweaks, this main API is mostly marked as "experimental" for now: It will further settle with 8. For extension authors it means that *if* this API is used, there may be code adaptions required in version 8 since parts of the API will be adapted to further needs. Resolves: #69814 Releases: master Change-Id: I81cb9f01ebc4b13d8d88a928811e563d83ec97cd Reviewed-on: http://review.typo3.org/43465 Reviewed-by:Benjamin Kott <info@bk2k.info> Tested-by:
Benjamin Kott <info@bk2k.info> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Mathias Schreiber <mathias.schreiber@wmdb.de> Tested-by:
Mathias Schreiber <mathias.schreiber@wmdb.de>
Showing
- Build/Resources/Public/Less/Component/module.less 88 additions, 0 deletionsBuild/Resources/Public/Less/Component/module.less
- Build/Resources/Public/Less/TYPO3/_element_buttons.less 2 additions, 4 deletionsBuild/Resources/Public/Less/TYPO3/_element_buttons.less
- Build/Resources/Public/Less/_minimal.less 1 addition, 0 deletionsBuild/Resources/Public/Less/_minimal.less
- typo3/sysext/backend/Classes/Module/AbstractModule.php 81 additions, 0 deletionstypo3/sysext/backend/Classes/Module/AbstractModule.php
- typo3/sysext/backend/Classes/Template/Components/AbstractControl.php 135 additions, 0 deletions...t/backend/Classes/Template/Components/AbstractControl.php
- typo3/sysext/backend/Classes/Template/Components/ButtonBar.php 137 additions, 0 deletions.../sysext/backend/Classes/Template/Components/ButtonBar.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/AbstractButton.php 100 additions, 0 deletions...nd/Classes/Template/Components/Buttons/AbstractButton.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/ButtonInterface.php 49 additions, 0 deletions...d/Classes/Template/Components/Buttons/ButtonInterface.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/FullyRenderedButton.php 106 additions, 0 deletions...asses/Template/Components/Buttons/FullyRenderedButton.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/InputButton.php 141 additions, 0 deletions...ckend/Classes/Template/Components/Buttons/InputButton.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php 114 additions, 0 deletions...ackend/Classes/Template/Components/Buttons/LinkButton.php
- typo3/sysext/backend/Classes/Template/Components/Buttons/SplitButton.php 172 additions, 0 deletions...ckend/Classes/Template/Components/Buttons/SplitButton.php
- typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php 96 additions, 0 deletions...ackend/Classes/Template/Components/DocHeaderComponent.php
- typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php 135 additions, 0 deletions.../sysext/backend/Classes/Template/Components/Menu/Menu.php
- typo3/sysext/backend/Classes/Template/Components/Menu/MenuItem.php 97 additions, 0 deletions...ext/backend/Classes/Template/Components/Menu/MenuItem.php
- typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php 79 additions, 0 deletions...sext/backend/Classes/Template/Components/MenuRegistry.php
- typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 133 additions, 0 deletions...t/backend/Classes/Template/Components/MetaInformation.php
- typo3/sysext/backend/Classes/Template/ModuleTemplate.php 771 additions, 0 deletionstypo3/sysext/backend/Classes/Template/ModuleTemplate.php
- typo3/sysext/backend/Resources/Private/Partials/ButtonBar.html 9 additions, 0 deletions.../sysext/backend/Resources/Private/Partials/ButtonBar.html
- typo3/sysext/backend/Resources/Private/Partials/DocHeader.html 25 additions, 0 deletions.../sysext/backend/Resources/Private/Partials/DocHeader.html
Please register or sign in to comment