HTML code with Dzvents script displayed in Dashticz

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:

HTML code with Dzvents script displayed in Dashticz

Post by madpatrick »

Hi,
I'm tyring to line out some text generated in my Dzvents script to be displayed in Dashticz
Somehow the the first line of the text is in line with the title and afterwards it is move to the left
2021-12-27 13_55_54-Instellingen.png
2021-12-27 13_55_54-Instellingen.png (20.98 KiB) Viewed 344 times

Code: Select all

if Balkondeur.state == 'Open' and Garagedeur.state == 'Closed' and  Achterdeur.state == 'Closed' and Erkerdeur.state == 'Open' then
    local message = 'Balkondeur is Open<br>Achterdeur is Open<br>Erkerdeur is Open'
    textblock.updateText(message)
    dz.log(message, dz.LOG_FORCE)  
    end
How can i place the text with a <br> in llne ?
-= 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