Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Make records more ergonomic buttons for modal windows #5985

Closed
ghost opened this issue Jul 18, 2013 · 5 comments
Closed

Make records more ergonomic buttons for modal windows #5985

ghost opened this issue Jul 18, 2013 · 5 comments
Labels
Milestone

Comments

@ghost
Copy link

ghost commented Jul 18, 2013

In Contao, since version 3.00 (I think ...), there are some parameters that can be changed directly via a modal window. This is great!

However, I think it would be more ergonomic place the button "save" outside the modal window so that it is always present. Beside the button "Close".

This would avoid having to scroll down the window every time.

It would also add a button "save and close"

See the screenshot :

boutons-fenetre-modale

@leofeyer
Copy link
Member

Not possible. The "close" button belongs to the main window, the "save" buttons belong to the iframe window.

@ghost
Copy link
Author

ghost commented Jul 18, 2013

That's what I thought ...

We could proceed as follows:

  • Changing DIV CSS class .tl_formbody_submit by adding the following properties:
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 47px;
  • Changing DIV CSS class .tl_formbody_edit by adding the following property:
padding-bottom:. 47px / * Same height .tl_formbody_submit, so that we can see all the information .tl_formbody_edit and avoid that information is hidden. * /
  • We remove the DIV class .single-modal-footer, this button can now be placed directly in .tl_formbody_submit

Watch the video : http://videobam.com/QMIpz

What do you think? It is not more ergonomic?

@leofeyer
Copy link
Member

Implemented in 354b8ce.

@ghost
Copy link
Author

ghost commented Sep 26, 2013

Great !

I want to know if it's planned that Contao exchange interface (backoffice) so that it is more ergonomic / easy to use?

For example, I find that having integrated modal windows and a very good thing ... it would probably develop this.

Thx

@Zeromax Zeromax mentioned this issue Oct 4, 2013
4 tasks
@qzminski
Copy link
Member

This is not a perfect solution as the debug bar will hide the buttons - see terminal42/contao-dcawizard#5

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants