/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_basic.html" %} {% block example %}
Examples
{{ basic.switch('switch1', 'bath_light_switch') }}
{{ basic.switch('switch1', 'bath_light_switch') }}
With other pictures (use 'icon0' and 'icon1' as path)
{{ basic.switch('switch2', 'bath_blind_move_up', icon1~'control_arrow_up.png', icon0~'control_arrow_down.png') }}
{{ basic.switch('switch2', 'bath_blind_move_up', icon1~'control_arrow_up.png', icon0~'control_arrow_down.png') }}
{% endblock %}