Feature #61577
closedFeature #61471: Base EXT: t3skin on twbs less
Use HTML5 label+checkbox semantics
100%
Description
There is no common mark-up in the CMS backend for checkbox+labels in forms.
With the inclusion of Bootstrap we decide for the Bootstrap HTML5 markup syntax in forms:
See http://getbootstrap.com/css/#forms for preview and mark-up.
Forms do not receive a special markup.
Normal forms without layout (not horizontal, not filter-bar, not inline) include this syntax:
<form role="form"> <div class="form-group"> <label for="text">Label text</label> <input type="file" id="text"> <p class="help-block">Example block-level help text here.</p> </div> <div class="checkbox"> <label> <input type="checkbox"> Check me out </label> </div> </form>
In this first step we migrate the checkbox html towards HTML5 mark-up:
- Wrap checkbox group within
<div class="checkbox"></div>
- Move Input field into the
<label>…</label>
- Move the label text into the
<label>…</label>
after the input checkbox
Why?
Ofter the checkbox and radio inputs are grouped and bring one description label for the group:
Behave like: [x] A
[-] B
Therefore the <label> tag is not formatted bold and the
<div class="checkbox">can also bring another group label.
Files
Updated by Felix Kopp about 10 years ago
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32762
Updated by Felix Kopp about 10 years ago
These are the places I found more checkboxes:
+ Functions module / CreatePagesWizardModuleFunctionController / lines 130ff.
+ Info PageTS / InfoPageTyposcriptConfigController / lines ~70
Updated by Felix Kopp about 10 years ago
Checkbox
+ Edit record / FormEngine
+ Template
Updated by Frank Nägler about 10 years ago
+ Filelist > File listing
+ Backend User > Editi BE User > "Show secondary options (palettes)"
both will be fixed in https://forge.typo3.org/issues/61579
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32762
Updated by Gerrit Code Review about 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32762
Updated by Gerrit Code Review about 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32762
Updated by Felix Kopp about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset abb72b2f704f136251d05ae991967eeace5961a7.