/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ {% extends "widget_quad.html" %} {% block header %} {% endblock %} {% block example %}
Example
Symbol this and that/empty/theother with plot popups
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('symbols0', [['this','that'], ' ', 'theother'], '', [icon.light('','','that'), '', ''], [[1,10,100,200],'', [1,2]], ['and','',''], ['','', ['icon0', 'icon1']], 'placeholder', 'placeholder', 'thisandthat = 1 | 100; the other = 1 | 2', ['thisandthat','','theother'], ['item_plot1','','item_plot3'], '', 'placeholder', 'placeholder', [1,2,3]) }} {% endraw %}{% endfilter %}
Symbol this and that, switched order
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('symbols2', ['this','that'], ['on', 'on'], [icon.light('','','this'),icon.light('','','that')], [[0,1,100,200],[0,1,100,200]], ['',''], [['icon0','icon1','icon1','icon1'],['icon0','icon1','icon1','icon1']], 'placeholder', 'placeholder', '2 Symbols (order switched)', ['this','that'], '', '', 'placeholder', 'placeholder', [2,1]) }} {% endraw %}{% endfilter %}
Symbol this AND that
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('combosymbol0', ['this','that'], '', ['secur_open.svg','secur_locked.svg','secur_locked.svg','secur_locked.svg'], [0,1], 'and', ['icon0','icon1'], 'placeholder', 'placeholder', 'this & that = 0 / 1') }} {% endraw %}{% endfilter %}
Symbol this OR that
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('combosymbol1', ['this','that'], '', 'secur_locked.svg', 1, 'or', 'icon1', 'placeholder', 'placeholder', 'this or that = 1') }} {% endraw %}{% endfilter %}
Symbol that: icons stay fixed
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('symbol1', 'that', ['off', 'on', 'more on', 'most on'], [icon.light(),icon.light('','','that'),icon.light('','','that'),icon.light('','','that')], [0,1,100,200], '', ['icon0','icon1','icon1','icon1'], 'placeholder', 'placeholder', 'fixed Symbol (that)', '', 'item_plot') }} {% endraw %}{% endfilter %}
Symbol with standard values
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('symbol_standard', 'that', '', '', '', '', '', 'placeholder', 'placeholder', 'Standard values') }} {% endraw %}{% endfilter %}
Two symbols with thresholds
{% filter trim|escape|nl2br %}{% raw %} {{ quad.symbol('maprange', ['that','this'], [['low','medium','high'], ['', '', '']], [['', '', ''], ['control_1','control_2','control_3']], [[1,100], [100,200]], ['>', '>'], '', '', '', 'with plots', ['that:', 'this:'], ['that.plot','this.plot'], '', '', '', [1,2]) }} {% endraw %}{% endfilter %}
{% endblock %}