/** * ----------------------------------------------------------------------------- * @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.customstyle('w1', 'bath.light.value', '20', 'mystyle') }}
...
{% endverbatim %}{% endfilter %}
{% filter trim|escape|nl2br %}{% verbatim %}
{{ status.customstyle(['w2', 'w3'], 'bath.light.value2', ['<=20','100','>230'], 'blink') }}
Block
Content
Block
{{ icon.battery('w3', '', 'bath.light.value2') }}
{% endverbatim %}{% endfilter %}
Content