reportico-web / laravel-reportico

Reportico Module for Laravel
66 stars 30 forks source link

UI Customization #7

Open lrojas94 opened 7 years ago

lrojas94 commented 7 years ago

Hello!

Just wondering if you have any tips.recommendations on how to start changing and modifying Reportico's default UI. I see bootstrap 2/3 are working fine, but wanted to change positions of elements and such, so I sortof wanted to change that a bit.

Also, noticed .tpl files have HTML written in caps and no indentation whatsoever. Is there a reason for that or is it just coding style :)?

Thanks in advance!

reportico-web commented 7 years ago

I would say those tpl files were done a very very long time ago, during a period of self learning and these template files have got more complicated to support different frameworks and style. My medium term plan is to convert this all over to twig so it's much easier to do what you say.

But while they are smarty tpl files i can only suggest you try to work with the existing files. If you are using for example bootstrap 3 then there are bits code not relevant to boot strap or that are relevant to bootstrap 2 that could be removed therefore simplifying the template text.

Also in many cases some of the UI html ( to draw listboxes and menus ) is actually in the php code reportico which is really not good. So depending on what bits of the UI you want to change you may have to go grepping for the htl code in the php source.

Not sure thats much help, but if this laravel reportico module proves useful i would very keen to ake it more laravel friendly.