{# A labelled bar (components.Progress); the markup is the macro's (components/_progress.html). The Python side formats the numbers, works out a meter's tone from its thresholds and the percentage text. #} {% from "components/_progress.html" import progress %} {{- progress(value, maximum, label=label, tone=tone, tip=tip, value_text=value_text, show_value=c.show_value, kind=c.kind, min=minimum, low=low, high=high, optimum=optimum, worded=custom_value_text, fallback_label=fallback_label, compact=c.compact, id=c.id, css_class=c.css_class) -}}