Status-Widgets

status.collapse status.log status.message status.notify


status.message

Displays a notification popup window with a message

Parameters
{{status.message(id, item_trigger, item_message, item_timestamp, title, text, mode) }}
id
unique id for this widget
item_trigger
a item witch triggers the popup: NOT 0 open it, 0 close it
item_message
a item with the dynamic message
item_timestamp
a item with the a timestamp
title
a title of the messagebox
text
a additional static text
mode
the mode: 'info', 'error' (optional, default 'info')
Examples
If you flip the switch to 'on' a popup will be shown.
{{ status.message('p1', 'bath.alert.info', '', '', 'Message 1', '... with some plain text ...') }}
{{ status.message('p2', 'bath.alert.warning', 'bath.alert.text', 'bath.time', 'Message 2', '... a warning from the backend ...') }}
{{ status.message('p3', 'bath.alert.error', '', '', 'Message 3', '... can only be closed with the ok button ...', 'error') }}
Message 1
Message 2
Message 3

Message 1

... with some plain text ...

OK

Message 2

... a warning with timestamp from the backend ...

OK

Message 3

... an error can only be closed with the ok button ...

OK

Widgets

Design

Misc