Dashticz, alternative dashboard based on HTML, CSS, jQuery
Moderators: leecollings , htilburgs , robgeerts
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Saturday 26 April 2025 13:22
Renber wrote: ↑ Saturday 26 April 2025 12:11
I cannot reproduce the problem.
Can you send me:
1. your block definition from CONFIG.js
2. the json output of the Domoticz device:
http://domoticz-ip:port/json.htm?type=command¶m=getdevices&rid=123
with 123 your device id.
is ok:
blocks['VLC_Bureau'] = {idx:1386,width:12,title:'VLC'};
is not ok:
blocks['VLC Bureau'] = {idx:1386,width:12,title:'VLC'};
"SubType" : "X10",
"SwitchType" : "Media Player",
"SwitchTypeVal" : 17,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "Media",
Thanks!
Fixed in latest version.
madpatrick
Posts: 667 Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:
Post
by madpatrick » Sunday 27 April 2025 9:49
Lokonli wrote: ↑ Saturday 26 April 2025 12:47
madpatrick wrote: ↑ Saturday 26 April 2025 11:34
Thanks for the quick fix.
How can i adjust the stop button ?
Code: Select all
.btn-number.stop {width: 88px !important;height: 50px !important; border: 1px solid rgba(255,255,255,0.7);background: red; border-radius: 5px;font-size:20px !important;}
When i change the size it doesn't work
I will make styling a bit easier.
Can you add the following to custom.css for testing:
Code: Select all
.mh {
--col1width: 30px;
--col2width: 30px;
}
.right2col {
padding-right: calc(var(--col1width) + var(--col2width) + 8px);
}
.col-button2 {
width: calc(var(--col1width) + var(--col2width));
}
.col-button2 .btn-number {
width: var(--col1width);
}
.btn.stop {
width: var(--col2width);
font-size:20px;
display: flex;
justify-content: center;
align-items: center;
}
/*Only change below this line*/
.mh {
--col1width: 60px;
--col2width: 60px;
}
.mh .btn {
background-color: #00aaff;
border: 1px solid rgba(255,255,255,0.7);
border-radius: 5px;
}
.mh .btn.stop {
background-color: red;
}
You can change the width of the up/down and stop button via the two parameters: now they are 60px.
The styling can be done via ".mh .btn", or via ".mh .btn.stop" for the stop button only.
If this is working for you let me know, and I'll include in the next version.
Thanks again.
Now it is working and even llok better.
The stop button is perfect now
DOesn't look easier, but maybe becasue the setup is different i need to get used to it
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
jake
Posts: 744 Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:
Post
by jake » Saturday 07 June 2025 21:55
I updated to today's latest beta and my energy blocks now have all additional title text. For instance, this block:
blocks['240_1'] = {
width: 4,
title: 'Opbrengst',
icon: 'fas fa-sun',
unit: 'W',
switch: true
};
Now shows in Dashticz as:
0W
Opbrengst: nu
other blocks have now extended titles like:
Opbrengst: Vandaag
Verbruik: Energie vandaag
Verbruik: Energieverbruik
How do I get rid of these descriptive texts behind my titles?
Lokonli
Posts: 2290 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Sunday 08 June 2025 17:06
jake wrote: ↑ Saturday 07 June 2025 21:55
I updated to today's latest beta and my energy blocks now have all additional title text. For instance, this block:
blocks['240_1'] = {
width: 4,
title: 'Opbrengst',
icon: 'fas fa-sun',
unit: 'W',
switch: true
};
Now shows in Dashticz as:
0W
Opbrengst: nu
other blocks have now extended titles like:
Opbrengst: Vandaag
Verbruik: Energie vandaag
Verbruik: Energieverbruik
How do I get rid of these descriptive texts behind my titles?
Add the following:
jake
Posts: 744 Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:
Post
by jake » Sunday 08 June 2025 20:45
Lokonli wrote: ↑ Sunday 08 June 2025 17:06
How do I get rid of these descriptive texts behind my titles?
Thank you, that did the trick!
Users browsing this forum: No registered users and 1 guest