Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Modal footer buttons #29976

Closed
wants to merge 2 commits into from
Closed

Conversation

brianteeman
Copy link
Contributor

This PR changes the order of the modal footer buttons so that they are in the same order as the toolbar buttons ie Save, Save & Close, Close

This PR also changes the class from btn-primary to btn-success for the Save & Close button to match the toolbar colour

Any other changes to the code or codestyle are beyond the scope of this PR

Pull Request for Issue #29560 .

This PR changes the order of the modal footer buttons so that they are in the same order as the toolbar buttons ie Save, Save & Close, Close

This PR also changes the class from btn-primary to btn-success for the Save & Close button to match the toolbar colour

Any other changes to the code or codestyle are beyond the scope of this PR
@ceford
Copy link
Contributor

ceford commented Jul 6, 2020

The Order is OK but I noticed that the Close button is White / Dark Grey. In Users / Edit Group, for example, the Toolbar Close button is White / Red.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29976.

@bonzani
Copy link

bonzani commented Jul 13, 2020

I have tested this item ✅ successfully on 4654886


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29976.

@infograf768
Copy link
Member

infograf768 commented Jul 13, 2020

@ceford is right but the issue is general
If we want to mock up toolbar for the Close button
Instead of
<button type="button" class="btn btn-secondary"'
we should have
<button type="button" class="btn btn-danger'

EDIT:
But we have a confusion between Cancel, Close and Delete in all admin.
for Cancel and Close, btn btn-secondary looks fine to me, including in toolbar.
for Delete or similar buttons. btn-danger looks correct

@infograf768
Copy link
Member

Btw, Menus Module edit has btn-danger in this patch.
`Screen Shot 2020-07-13 at 11 45 11

@brianteeman
Copy link
Contributor Author

I specified in the pr exactly what the scope of the pr was and yet you chose to derail it with comments about unrelated things - shame

@brianteeman brianteeman closed this Aug 2, 2020
@brianteeman brianteeman deleted the id4 branch August 2, 2020 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants