webERP Forum

Full Version: Updated themes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
A while ago a colleague reworked the themes on our code that our customers use.  I like the look that he has achieved, and he has copied them over onto the webERP code. Below are screenshots of how this looks:

[attachment=1051]
[attachment=1052]
[attachment=1053]
[attachment=1054]
[attachment=1055]
(05-09-2021, 11:54 PM)falkoner Wrote: [ -> ]A while ago a colleague reworked the themes on our code that our customers use.  I like the llok that he has achieved, and he has copied them over onto the webERP code. Below are screenshots of how this looks:
And here are the other 5:

[attachment=1056]
[attachment=1057]
[attachment=1058]
[attachment=1059]
[attachment=1060]

Does anybody have any objections to us pushing these chanages?

Tim
No objections from me.
Thanks Paul

JuergenM

I am the colleague Tim said that made these updated themes. There are some things that should be mentioned as well as what Tim said:

1 header.php detects if a rtl language is being used and uses a version of the theme for that direction.
2 There is a lot of css in these themes (<fieldset> for example) not currently used but webERP should think of using so I left it in.
3 There is a lot of wastage. For instance in each theme everything is duplicated in the rtl css so if you change one file you must change both. what needs doing is all common css going into one file, then an additional small css files for each of ltr and rtl specific css. This is neater, and reduces size. I didn't have time to do this so chose the idle way :-) If anybody wants to have a go and learn on the way I would be happy to help.
4 This is a start point not an end point and I know they can be improved on, so all suggestions welcome :-)
5 I made an example demo so you can see it working on one of our servers https://weberp.kwamoja.org username/password admin/weberp

- J
Thanks for the info @JuergenM, I can definitely agree with #3. I believe the same situation exists within other non-(rtl/ltr) files as well?

JuergenM

You are right @TurboPT. There should be a single top level css file for styles that are common to all the themes and then another file for each theme containing the styles common to both directions, and then a third for styles appropriate to the theme/direction. Oh and one set of images for each theme. It does need work but I think it looks better so have issued PR on github.

- J
(05-09-2021, 11:54 PM)TimSchofield Wrote: [ -> ]A while ago a colleague reworked the themes on our code that our customers use.  I like the look that he has achieved, and he has copied them over onto the webERP code. Below are screenshots of how this looks:
I like the theming effort by Andy (afcouling), it's beautiful and modern!

Why not working on it?

Thanks!