I have stopped trying to make it a new default theme, and have just created two normal themes based on my work. Hopefully these will be allowed to come shipped with Domoticz.
Here is the pull request:
https://github.com/domoticz/domoticz/pull/1948
Differences:
- Use JQuery to change HTML on the fly (instead of having them added to Domoticz core code). Specifically merging divider divs to allow for more fluid width designs (two column layout on medium sized screens), and adding wrapper span tags inside of the table cells, to allow for more flexible display of item properties.
- I have been able to add rudimentary datavizualisations to the dashboard, by moving the code for that into the theme's JS file.
I was also happy to see that some of my changes have made it into Domoticz. Specifically:
- Using CSS to indicate item status (protected, timeOut, etc) instead of hard coded.
- Some changes to the HTML output, including section divs on the dashboard.
- Some tags int he body tag which reflect the design settings that the user has set.
So kudos to Gizmocus for that.
If the themes get accepted I will spend some time polishing them where necessary.