/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_basic.html" %} {% block example %}
Examples
Choose your color! If you have finised the rgb values will be send.
{{ 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 %}