Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Correct bookmark form styling
Adjust the whitespace of the bookmark edit form in the backend toolbar, to look more aligned to the other dropdowns. Resolves: #98514 Releases: main Change-Id: If25101e0ceb3568d086c38f5b4f193be90b58620 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75972 Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Oliver Hader <oliver.hader@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
- Loading branch information
1 parent
a42faa3
commit 3fee50e
Showing
4 changed files
with
21 additions
and
20 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
29 changes: 15 additions & 14 deletions
29
.../sysext/backend/Resources/Private/Templates/ToolbarItems/ShortcutToolbarItemEditForm.html
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 |
---|---|---|
@@ -1,19 +1,20 @@ | ||
<form class="shortcut-form" role="form" data-shortcutid="{selectedShortcutId}"> | ||
<h3 class="dropdown-header"> | ||
<form class="t3js-shortcut-form" role="form" data-shortcutid="{selectedShortcutId}"> | ||
<h3 class="dropdown-headline"> | ||
{f:translate(key: 'LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:toolbarItems.bookmarksEdit')} | ||
</h3> | ||
<hr class="dropdown-divider" aria-hidden="true"> | ||
<div class="form-group"> | ||
<input type="text" class="form-control" name="shortcut-title" value="{selectedShortcut.label}"/> | ||
<div class="dropdown-item-text"> | ||
<div class="form-group"> | ||
<input type="text" class="form-control" name="shortcut-title" value="{selectedShortcut.label}"/> | ||
</div> | ||
<div class="form-group"> | ||
<select class="form-select" name="shortcut-group"> | ||
<f:for each="{shortcutGroups}" key="shortcutGroupId" as="shortcutGroupTitle"> | ||
<option value="{shortcutGroupId}" {f:if(condition: '{selectedShortcutGroupId} == {shortcutGroupId}', then: 'selected="selected"')}>{shortcutGroupTitle}</option> | ||
</f:for> | ||
</select> | ||
</div> | ||
<input type="button" class="btn btn-default t3js-shortcut-form-cancel" value="Cancel"/> | ||
<input type="button" class="btn btn-success t3js-shortcut-form-save" value="Save"/> | ||
</div> | ||
<div class="form-group"> | ||
<select class="form-select" name="shortcut-group"> | ||
<f:for each="{shortcutGroups}" key="shortcutGroupId" as="shortcutGroupTitle"> | ||
<option value="{shortcutGroupId}" {f:if(condition: '{selectedShortcutGroupId} == {shortcutGroupId}', then: 'selected="selected"')}>{shortcutGroupTitle}</option> | ||
</f:for> | ||
</select> | ||
</div> | ||
<hr class="dropdown-divider" aria-hidden="true"> | ||
<input type="button" class="btn btn-default shortcut-form-cancel" value="Cancel"/> | ||
<input type="button" class="btn btn-success shortcut-form-save" value="Save"/> | ||
</form> |
2 changes: 1 addition & 1 deletion
2
typo3/sysext/backend/Resources/Public/JavaScript/toolbar/shortcut-menu.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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