{%- extends "base.html" %} {# Loads some of the macros included with Flask-Bootstrap. We are using the utils module here to automatically render Flask's flashed messages in a bootstrap friendly manner #} {% import "bootstrap/utils.html" as utils %} {% block scripts %} {{super()}} {%- endblock scripts %} {# Most of the content goes in this block #} {% block content %}
{%- with messages = get_flashed_messages(with_categories=True) %} {%- if messages %}
{{utils.flashed_messages(messages)}}
{%- endif %} {%- endwith %}

Heater

Status

Current Temperature: {{ tempC }}

Heater Status: {{ state.heater }}

Control

Heater

Setpoint (°C): 

Heat

{%- endblock %}