/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_status.html" %} {% block example %}
{% filter trim|escape|nl2br %}{% verbatim %}
{{ status.collapse('w1', 'bath.alert.info', '0', 'hide') }}
...
{% endverbatim %}{% endfilter %}
{% filter trim|escape|nl2br %}{% verbatim %}
.... code for the popup
{{ status.collapse('w2', 'bath.alert.warning') }}
{% endverbatim %}{% endfilter %}
{% filter trim|escape|nl2br %}{% verbatim %}
{{ status.collapse('w3', 'bath.alert.error') }}
Block
Content
{% endverbatim %}{% endfilter %}
Content
{% filter trim|escape|nl2br %}{% verbatim %}
{{ status.collapse('w4', 'bath.multistate', [1, 2, 4]) }}
{{ status.collapse('w5', 'bath.multistate', [0, 3]) }}
{{ basic.symbol('', 'bath.multistate', '', ['secur_locked', 'audio_sound'], [0, 3]) }}
This section is collapsed if values match 1, 2 or 4
Now you've been choosing 1, 2 or 4.
{{ basic.symbol('', 'bath.multistate', '', ['audio_play', 'audio_pause', 'audio_stop'], [1, 2, 4]) }}
{% endverbatim %}{% endfilter %}