2 different block sizes for same item

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

2 different block sizes for same item

Post by madpatrick »

Hi,
I want to present the currentweather_big_owm on 2 different screens.
1x at the normal screen and 1x at the standby screen.
The only issue i have is that i need to different blocksizes.

I've tried this, but doesn't work

Code: Select all

var currentweather_1 = 'currentweather_big_owm';
var currentweather_2 = 'currentweather_big_owm';

blocks[currentweather_1] 		= {width :12}
blocks[currentweather_2] 		= {width :6}

columns[10] = {}
columns[10]['blocks'] = currentweather_1]
columns[10]['width'] 	= 4

columns_standby[1] = {}
columns_standby[1]['blocks'] = [currentweather_2]
columns_standby[1]['width'] = 12;

-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Krenstik
Posts: 45
Joined: Saturday 13 June 2020 12:51
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: 2 different block sizes for same item

Post by Krenstik »

Maybe can work set different size of collum ;-)

I´ve used it for the same value and different screens...
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: 2 different block sizes for same item

Post by madpatrick »

Krenstik wrote: Monday 11 January 2021 22:39 Maybe can work set different size of collum ;-)

I´ve used it for the same value and different screens...
Would be nice if it works for the standby screen.
With a normal screen this is working, but with the standby screen no.

Is it possible to use columns with the standby screen ?
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest