avanzu / AdminThemeBundle

Admin Theme based on the AdminLTE Template for easy integration into symfony
MIT License
281 stars 149 forks source link

Added blocks for managing the pages main content #220

Closed kevinpapst closed 6 years ago

kevinpapst commented 6 years ago

Hi @shakaran,

I wanted to integrate the Invoice template from the official demos: https://adminlte.io/themes/AdminLTE/pages/examples/invoice.html

But I failed with the default-layout.html.twig as I could neither change the <section> class name (it needs to be invoice instead of content) nor could I add the required <div clearfix> after the content. I don't need the callout widget on top, but thought that I add the avanzu_page_content_before block there as well, for the ones who want to inject some widgets before the pages main content.

I know currently its feature freeze, but it does not introduce any BC break. I can add documentation, but wanted to ask first what you think about the proposed changes.

shakaran commented 6 years ago

@kevinpapst I am merging this since it doesn't break anything of old behaviour.

But please, make another pull request documenting the sections for avanzu_page_content_before and avanzu_page_content_after in the layout doc file