Page 1 of 8

SNEAK PREVIEW - New default theme

Posted: Saturday 10 June 2017 16:52
by blauwebuis
Hello everyone

Over the past months Gizmocus and I have been working on creating a new default theme for Domoticz. It should become available soon, so as a heads-up, don't be shocked when your Domoticz installation suddenly looks something like this:

Image

Image

WHY?
On the surface this project has been about creating two new themes (more on the other one http://domoticz.com/forum/viewtopic.php?f=8&t=16731). But beneath that it has been about making it much easier to theme Domoticz, so that Dashboard builders may consider making themes instead. Since themes are more easily distributed to all Domoticz users, their work may be more widely enjoyed.

These are some of the changes:
  • Cleaned-up and standardized HTML output with lots of useful CSS classes, so themes can more easily change things.
  • Modified HTML hierarchy, allowing for CSS to create more varied designs, like columns, which will improve use of screen space.
  • All themes can now add in their own javascript. This offers a lot more freedom to create and modify the HTML output.
  • The default theme offers a great starting point for creating your own theme. It even allows for quick enabling of disabling of features, like the side bar, data visualization, simply by selecting which sub-CSS-files are included.
  • There is now even an option to merge simple items. If you have multiple items with only one output each, you can combine them into one 'grouped item'. This is currently only in the utilities section, but could easily be expanded.
  • New, custom-made higher resolution icons, for example in in the main menu. UPDATE: themes can now also incorporate their own icons.
  • Animations are now possible. For example, the fan icon will slowly spin while it's on, the barometer actually turns its needle, etc.
  • Much more.
Image
Example: Grouped item

The older themes should still work. In the future, to really improve things, the whole HTML output may be reshuffled, but that's another story.

I hope you will enjoy the new theme(s), and will build some cool new ones.

I want to thanks the many forum members who donated their time to test it: you all rock!

And of course big thanks to Gizmocus for his feedback and the time he took to merge all this.


TRY IT

If you want to try/test it already:

1. Download the zip file here (green button):
https://github.com/domoticz/domoticz/tree/GuiWork/

2. As a user on your server, replace the WWW folder in your Domoticz folder with the one from the zip file.

3. Clear your browser cache and app cache. If the theme looks weird then you haven't cleared the app cache.

If something somehow goes wrong, just restart the Domoticz installation and choose the update option.

Re: SNEAK PREVIEW - New default theme

Posted: Saturday 10 June 2017 17:19
by Mediacj
Wow really great work!

Can't wait to try it!

Thanks!

Re: SNEAK PREVIEW - New default theme

Posted: Saturday 10 June 2017 18:05
by maomanna
WOW much better then the current one.

Wopuld be nice that the user can set the size of the blocks

Re: SNEAK PREVIEW - New default theme

Posted: Saturday 10 June 2017 19:12
by zicht
Many thanks,
This has been a lot of work for you both !
It looks really great and sounds like very flexible also.

Allready love it based on the sneak preview.

Re: SNEAK PREVIEW - New default theme

Posted: Saturday 10 June 2017 20:41
by krizzz
Wow, great work. Really enormous step into the future!

Re: SNEAK PREVIEW - New default theme

Posted: Sunday 11 June 2017 12:17
by blauwebuis
@moamanna - if you don't want the top row of the dashboard categories to be bigger ('highlights'), then you can select the compact view option:
Image

If you want things to be even more compact, try the mobile view option:
Image

Re: SNEAK PREVIEW - New default theme

Posted: Sunday 11 June 2017 12:43
by Clemen
How can we test it?

Re: SNEAK PREVIEW - New default theme

Posted: Sunday 11 June 2017 22:39
by assenzuid
Nice, when or how to test?

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 8:34
by fkok
Looks great!!!!

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 8:35
by emme
Love it!!!! :o :o :o

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 8:48
by DarkAllMan
Amazing work!

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 9:39
by Denny64
Promises good...

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 10:21
by ivarka
:D

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 11:18
by ben53252642
I have over 300 devices in Domoticz, the number one thing I would like to see is a universal search bar somewhere that searches device names then displays the results as devices, utility, temperature etc....

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 12:04
by poudenes
Looks nice !!!!! can't wait to see it myself behind my mac

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 13:05
by Derik
Love Domoticz....
Great work Guys!!!

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 15:52
by Brutus
This looks nice! With this look Domoticz gets a more up te date look!

Re: SNEAK PREVIEW - New default theme

Posted: Monday 12 June 2017 20:52
by Fleshi
Great work, looks really nice :)

Re: SNEAK PREVIEW - New default theme

Posted: Tuesday 13 June 2017 10:50
by anconakip
i can't wait untill you put this online. Wauw what a nice improvement.

Re: SNEAK PREVIEW - New default theme

Posted: Tuesday 13 June 2017 14:17
by maomanna
blauwebuis wrote:@moamanna - if you don't want the top row of the dashboard categories to be bigger ('highlights'), then you can select the compact view option:
Image

If you want things to be even more compact, try the mobile view option:
Image
cool!

cant wait!