[FEATURE] Fluid based Module Template 65/43465/11
authorMathias Schreiber <mathias.schreiber@wmdb.de>
Tue, 22 Sep 2015 07:46:21 +0000 (09:46 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 3 Oct 2015 11:15:58 +0000 (13:15 +0200)
commitcf26e30e58b4f109e43ee75158f855ac1167778a
tree1960626b5aa05516efd6115f938b70d92e0dc2a7
parent9004688d03aeeea3b44abfa196f7f6209a71afb1
[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>
31 files changed:
Build/Resources/Public/Less/Component/module.less [new file with mode: 0644]
Build/Resources/Public/Less/TYPO3/_element_buttons.less
Build/Resources/Public/Less/_minimal.less
typo3/sysext/backend/Classes/Module/AbstractModule.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/AbstractControl.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/ButtonBar.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/AbstractButton.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/ButtonInterface.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/FullyRenderedButton.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/InputButton.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/LinkButton.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Buttons/SplitButton.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/DocHeaderComponent.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Menu/Menu.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/Menu/MenuItem.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/MenuRegistry.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/Components/MetaInformation.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Template/ModuleTemplate.php [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Partials/ButtonBar.html [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Partials/DocHeader.html [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Partials/Menus/SelectBoxJumpMenu.html [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Templates/Module.html [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Templates/blank.html [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/Button/FullyRenderedButtonTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/Button/InputButtonTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/Button/LinkButtonTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/Button/SplitButtonTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/Menu/MenuItemTest.php [new file with mode: 0644]
typo3/sysext/backend/Tests/Unit/Template/Components/MenuTest.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-69814-ModuleTemplateAPI.rst [new file with mode: 0644]
typo3/sysext/t3skin/Resources/Public/Css/backend.css