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

Implement predefined default template #31

Open
pedrogit opened this issue Apr 11, 2022 · 0 comments
Open

Implement predefined default template #31

pedrogit opened this issue Apr 11, 2022 · 0 comments
Assignees
Labels
module_client priority_medium We can live with them for a while type_enhancement Nice enhancement to have

Comments

@pedrogit
Copy link
Owner

pedrogit commented Apr 11, 2022

Add a new view "predef_template" property. For now, possible values are:

  • custom
  • horizontal_label_popup_edit
  • horizontal_label_inline_edit
  • vertical_label_popup_edit
  • vertical_label_inline_edit
  • nolabel_inline_view_and_edit
  • grid

When custom is selected the template is taken from item_template (which should be renamed "custom_template")

It would probably be better to have a "Easy template/Custom template" boolean button. When enabled the user then can config the easy template with some options like:

  • Horizontal, vertical, or no labels
  • Inline or popup edit
  • Aligned, stacked or grid controls

When Custom template is selected, the template is defined by a custom string

@pedrogit pedrogit added type_enhancement Nice enhancement to have module_client priority_medium We can live with them for a while labels Apr 11, 2022
@pedrogit pedrogit self-assigned this Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module_client priority_medium We can live with them for a while type_enhancement Nice enhancement to have
Projects
None yet
Development

No branches or pull requests

1 participant