{% else %}
smartVISU
{% endif %}
{% endmacro %}
/**
* Check for new updates of smartVISU
*/
{% macro updatecheck( ) %}
{% if config_updatecheck %}
{% else %}
{% endif %}
{% endmacro %}
/**
* Widget to place an app-symbol
* If you write an app yourself, place a @title, @icon, @color tag in your
* header. These tags are used to display the symbol
*
* @param the name of the app (located in pages/apps)
* @param title of the app
*/
{% macro app(name, title) %}
{% set app = docu('apps/'~name~'.html') %}
{% endmacro %}
/**
* Widget to show websocket connection
*
*/
{% macro connection( ) %}
{% import "basic.html" as basic %}
io connection:
{% endmacro %}
/**
* Button to send a timestamp to an item (for countdown docu page)
*
* @param {id} unique id for the widget. Mandatory in order to identify the button in a page with more than one button
* @param {item(num)} the item
*
* @Author: Wolfram v. Hülsen
*/
{% macro timestamp (id, item) %}
Click to start
{% endmacro %}
/**
* Extend a single block to full screen width
*
* @param {id=} unique id for the widget.
*
* @Author: bonze (plot resize by Wolfram v. Hülsen)
*/
{% macro supersize ( id ) %}
{% set uid = uid(page, id) %}
{% endmacro %}