SNEAK PREVIEW - New default theme

Moderator: leecollings

Post Reply
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

SNEAK PREVIEW - New default theme

Post 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.
Last edited by blauwebuis on Thursday 24 August 2017 13:00, edited 2 times in total.
User avatar
Mediacj
Posts: 74
Joined: Wednesday 11 February 2015 16:09
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Mediacj »

Wow really great work!

Can't wait to try it!

Thanks!
maomanna
Posts: 94
Joined: Monday 30 November 2015 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by maomanna »

WOW much better then the current one.

Wopuld be nice that the user can set the size of the blocks
zicht
Posts: 251
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 2023.1+
Location: NL
Contact:

Re: SNEAK PREVIEW - New default theme

Post 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.
Rpi & Win x64. Using : cam's,RFXCom, LaCrosse, RFY, HuE, google, standard Lua, Tasker, Waze traveltime, NLAlert&grip2+,curtains, vacuum, audioreceiver, smart-heating&cooling + many more (= automate all repetitive simple tasks)
krizzz
Posts: 200
Joined: Wednesday 20 November 2013 20:36
Target OS: Linux
Domoticz version:
Location: The Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by krizzz »

Wow, great work. Really enormous step into the future!
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post 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
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Clemen »

How can we test it?
assenzuid
Posts: 135
Joined: Friday 13 November 2015 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands, Emmen Area
Contact:

Re: SNEAK PREVIEW - New default theme

Post by assenzuid »

Nice, when or how to test?
fkok
Posts: 29
Joined: Thursday 19 January 2017 9:19
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by fkok »

Looks great!!!!
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: SNEAK PREVIEW - New default theme

Post by emme »

Love it!!!! :o :o :o
The most dangerous phrase in any language is:
"We always done this way"
DarkAllMan
Posts: 52
Joined: Friday 23 December 2016 9:41
Target OS: Linux
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by DarkAllMan »

Amazing work!
User avatar
Denny64
Posts: 53
Joined: Friday 03 February 2017 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.1
Location: Italy
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Denny64 »

Promises good...
ivarka
Posts: 11
Joined: Sunday 17 April 2016 21:00
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by ivarka »

:D
ben53252642
Posts: 543
Joined: Saturday 02 July 2016 5:17
Target OS: Linux
Domoticz version: Beta
Contact:

Re: SNEAK PREVIEW - New default theme

Post 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....
Unless otherwise stated, all my code is released under GPL 3 license: https://www.gnu.org/licenses/gpl-3.0.en.html
poudenes
Posts: 667
Joined: Wednesday 08 March 2017 9:42
Target OS: Linux
Domoticz version: 3.8993
Location: Amsterdam
Contact:

Re: SNEAK PREVIEW - New default theme

Post by poudenes »

Looks nice !!!!! can't wait to see it myself behind my mac
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Derik »

Love Domoticz....
Great work Guys!!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Brutus »

This looks nice! With this look Domoticz gets a more up te date look!
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
Fleshi
Posts: 14
Joined: Tuesday 23 May 2017 21:18
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Fleshi »

Great work, looks really nice :)
anconakip
Posts: 17
Joined: Tuesday 30 September 2014 12:41
Target OS: Raspberry Pi / ODroid
Domoticz version: 7722
Contact:

Re: SNEAK PREVIEW - New default theme

Post by anconakip »

i can't wait untill you put this online. Wauw what a nice improvement.
maomanna
Posts: 94
Joined: Monday 30 November 2015 16:21
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post 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!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest