{% if vitejs.PROD %} {% for link in vitejs.css_links_for('temboard.js') %}{{ link|safe }}{% endfor %} {% else %} {% endif %} {% block head %}{# Put link and meta in head block to inject here #}{% endblock %} {# Header bar, hidden only on login page. #} {% if headerbar|default(True) %} {% endif %}{# end of header bar #}
{% if sidebar|default(instance is defined) %} {% endif %}{# end of sidebar #}
{% if instance is defined and instance.status is defined and instance.status is not none %} {% set s = instance.status %} {% if "pending_restart" in s.get("postgres",{}) and s.get("postgres",{})["pending_restart"] %} {% endif %} {% endif %}
{% block content %} {% endblock %}