SNEAK PREVIEW - New default theme

Moderator: leecollings

User avatar
sincze
Posts: 1299
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: SNEAK PREVIEW - New default theme

Post by sincze »

Well the new theme works and it is a nice way to show-off the vast amount of sensors states.
Had to convince some older domoticz (yes in age) users to migrate.. which in the end they did not :lol:

I encourage every designer to design his own theme and share it within this community..

Regarding the theme however.. I barely touch or look at it :shock: , as Domoticz runs by itself, does all the light (colour) switching, video, audio, you name it.

Still kudo's +100 for the new default theme and Gizmocuz for starting domoticz and supplying us with an API.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
User avatar
bueno79
Posts: 83
Joined: Wednesday 08 March 2017 10:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: France
Contact:

Re: SNEAK PREVIEW - New default theme

Post by bueno79 »

so impatient to seet his UI integrated :)
Snowdude
Posts: 11
Joined: Saturday 24 December 2016 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Snowdude »

I was running this theme with the latest beta and the event system is disabled, every time i enabled it it failed again. I think this is caused by this commit:

Changed 'Disable Event System' to 'Enable Event System'

I hope this can be fixed quickly, I have now rolled back to the "old" theme that is included in the beta because my even system is more important than the theme. But I really like the new theme.
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by pj-r »

LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
Haringstad
Posts: 13
Joined: Tuesday 22 November 2016 9:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Haringstad »

ehm, to be honest: BRUTAL AWESOME THEME BRO!
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 »

Thanks.

After spending three months to make it, including all the custom icons, barometer images, animations, dataviz, item merger code, and of course all the CSS for two themes.. it still hasn't been integrated :-(
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 »

blauwebuis wrote: Monday 23 October 2017 23:56 Thanks.

After spending three months to make it, including all the custom icons, barometer images, animations, dataviz, item merger code, and of course all the CSS for two themes.. it still hasn't been integrated :-(
And is there a reason for this ?
Looks a great ui for me...
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
pj-r
Posts: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by pj-r »

@blauwebuis: have you got any updates from gizmocuz about merging this into devel?
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors
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 »

I have no idea :-(
leby
Posts: 98
Joined: Monday 28 July 2014 9:58
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Stockholm
Contact:

Re: SNEAK PREVIEW - New default theme

Post by leby »

I have a small issue after installing the theme.
The eventsystem is set to "disable" and it's not possible to save as "Enabled"... Anyone else had that problem?
/lennart
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 »

The event system is working normally here (latest beta).
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 »

Gizmocuz asked? For the implementation?
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
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by remb0 »

I have! I'l post it when he answer.
gajotnt
Posts: 70
Joined: Monday 06 February 2017 12:48
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Azores
Contact:

Re: SNEAK PREVIEW - New default theme

Post by gajotnt »

Replaced the www folder like explained in the OP and everthing stays the same, even after clearing the cache and trying a new web browser.
Anything special one has to do?

BTW used WINSCP to copy over the new files
IDANIT
Posts: 73
Joined: Saturday 07 November 2015 10:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Poland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by IDANIT »

Delete old www folder then copy this new one. Got similar problem when overwriting.
gajotnt
Posts: 70
Joined: Monday 06 February 2017 12:48
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Azores
Contact:

Re: SNEAK PREVIEW - New default theme

Post by gajotnt »

Cant get anything remotly close to the theme in the original post xD
Attachments
Capturar.JPG
Capturar.JPG (85.46 KiB) Viewed 3710 times
Snowdude
Posts: 11
Joined: Saturday 24 December 2016 10:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Snowdude »

gajotnt wrote: Monday 06 November 2017 12:36 Cant get anything remotly close to the theme in the original post xD
Looks like your local browser cache is not emtied

I really can't wait until this is added to the official beta's
gajotnt
Posts: 70
Joined: Monday 06 February 2017 12:48
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.9700
Location: Azores
Contact:

Re: SNEAK PREVIEW - New default theme

Post by gajotnt »

I even tried installing a new browser in my computer, even using another PC never used to enter the dashboard.
Will wait for final release.
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 »

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.
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 »

@gajotnt: you are using a completely different theme :-D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest