[TASK] FormEngine: "field has changed" icon via CSS 08/12708/14
authorBenjamin Mack <benni@typo3.org>
Tue, 25 Feb 2014 10:29:02 +0000 (11:29 +0100)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 15 Dec 2014 12:35:25 +0000 (13:35 +0100)
commit30c362b918299de582932f09ee1a87f10b48b76d
tree3399b3b2a53221f494269dcdff479a8d079de92e
parent9746ed4c241fc260d9b3635cc4dc037d6c7ea36c
[TASK] FormEngine: "field has changed" icon via CSS

When editing a record in FormEngine, each field that is
modified gets an arrow symbol in front of the
input/select field.

There are certain downsides to this implementation:
- Having images and hard-coded srcs in each field
clutters the HTML and has ugly JS to change the field
- it's hard to style / exchange the icon

The new solution does the replacement via CSS classes.
The CSS class just adds a blue background to the
changed form field or does a color change
to the checkbox label currently.

Releases: master
Resolves: #38752
Change-Id: I94b6cc8550f7539961aa7ee97a8081e7d0ae5931
Reviewed-on: http://review.typo3.org/12708
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/Form/FrontendFormEngine.php
typo3/sysext/backend/Resources/Private/Templates/FormEngine.html
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.tbe_editor.js
typo3/sysext/t3skin/Resources/Private/Styles/TYPO3/_element_tceforms.less
typo3/sysext/t3skin/Resources/Public/Css/visual/t3skin.css