/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "index.html" %} {% block content %}

Popups

Here are some examples to show how popups are used.
Examples
A vertical popup with some switches
{% filter trim|escape|nl2br %}{% verbatim %}
{{ basic.switch('switch1', 'bath_light_switch') }} {{ basic.switch('switch2', 'bath_light_switch') }} {{ basic.switch('switch3', 'bath_light_switch') }}
{% endverbatim %}{% endfilter %}
{{ basic.switch('switch1', 'bath_light_switch') }} {{ basic.switch('switch2', 'bath_light_switch') }} {{ basic.switch('switch3', 'bath_light_switch') }}
A horizontal popup with some switches
{% filter trim|escape|nl2br %}{% verbatim %}
{{ basic.switch('switch4', 'bath_light_switch') }} {{ basic.switch('switch5', 'bath_light_switch') }} {{ basic.switch('switch6', 'bath_light_switch') }}
{% endverbatim %}{% endfilter %}
{{ basic.switch('switch4', 'bath_light_switch') }} {{ basic.switch('switch5', 'bath_light_switch') }} {{ basic.switch('switch6', 'bath_light_switch') }}
Individual size popup with a close button
{% filter trim|escape|nl2br %}{% verbatim %}
Close Content
{% endverbatim %}{% endfilter %}
Close Content
{% endblock %}