Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
cbdcefaa
Commit
cbdcefaa
authored
Jan 14, 2017
by
Carsten Rose
Browse files
QuickFormQuery.php: Button save/ close/ delete/ new - align to right border of form.
parent
0d937ca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/BuildFormBootstrap.php
View file @
cbdcefaa
...
...
@@ -185,10 +185,13 @@ class BuildFormBootstrap extends AbstractBuildForm {
$buttonNew
=
$this
->
buildButtonAnchor
(
'form-new-button'
,
$url
,
$toolTip
,
GLYPH_ICON_NEW
);
}
$html
=
Support
::
wrapTag
(
'<div class="btn-group" role="group">'
,
$buttonEditForm
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group" role="group">'
,
$buttonSave
.
$buttonClose
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group" role="group">'
,
$buttonDelete
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group" role="group">'
,
$buttonNew
);
// Arrangement: Edit Form / Save / Close / Delete / New
// Specified in reverse order cause 'pull-right' inverts the order.
$html
=
''
;
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group pull-right" role="group">'
,
$buttonNew
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group pull-right" role="group">'
,
$buttonDelete
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group pull-right" role="group">'
,
$buttonSave
.
$buttonClose
);
$html
.
=
Support
::
wrapTag
(
'<div class="btn-group pull-right" role="group">'
,
$buttonEditForm
);
$html
=
Support
::
wrapTag
(
'<div class="btn-toolbar" role="toolbar">'
,
$html
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment