/** * ----------------------------------------------------------------------------- * @package smartVISU * @author Martin Gleiß * @copyright 2012 - 2015 * @license GPL [http://www.gnu.de] * ----------------------------------------------------------------------------- */ /** * Show and hide a div or popup or collapse a section. * * @param unique id for this widget. Use this id in a div in the data-bind attribute to bind it to that widget * @param a item witch triggers the collapse */ {% macro collapse(id, item_trigger) %} {% endmacro %} /** * Displays a list of logging-information * * @param unique id for this widget * @param the name of the log * @param maximal number of entries (1 - 50) */ {% macro log(id, item, count) %} {% endmacro %} /** * Displays a notification edge window * * @param unique id for this widget * @param a item witch triggers the notification * @param a item with the dynamic message * @param a word for the signal corner * @param a title of the messagebox * @param a additional static text * @param the mode: 'info', 'warning', 'error' (optional, default 'info') */ {% macro notify(id, item_trigger, item_message, signal, title, text, mode) %}

{{ title }}

{{ text }}

{% endmacro %} /** * Displays a notification popup window with a message * * @param unique id for this widget * @param a item witch triggers the popup: NOT 0 open it, 0 close it * @param a item with the dynamic message * @param a item with the a timestamp * @param a title of the messagebox * @param a additional static text * @param the mode: 'info', 'error' (optional, default 'info') */ {% macro message(id, item_trigger, item_message, item_timestamp, title, text, mode) %}

{{ title }}

{{ text }}

OK
{% endmacro %}