/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_basic.html" %} {% block example %}
Examples
Choose your color! After selection the RGB values will be sent.
{{ basic.colordisc('c1', 'bath.color.r', 'bath.color.g', 'bath.color.b') }}
{{ basic.colordisc('c2', 'bath.color.r', 'bath.color.g', 'bath.color.b', 0, 255, 16, 20) }}
{{ basic.colordisc('c1', 'bath.color.r', 'bath.color.g', 'bath.color.b') }} 10 colors {{ basic.colordisc('c2', 'bath.color.r', 'bath.color.g', 'bath.color.b', 0, 255, 16, 20) }} 16 steps and 20 colors
{% endblock %}