{# Shared template macros. Import with: {% from "_macros.html" import crumbs %} #} {# Breadcrumb trail. `items` is a list of (label, href) pairs, ordered root→current. Intermediate items with a truthy href render as links; the last item (or any item with an empty href) renders as plain current text. #} {% macro crumbs(items) -%} {%- endmacro %} {# Metric threshold coloring moved to the `threshold_style(value, kind)` jinja global (steward/core/settings.py + app.py), which reads operator-configurable cutoffs from Settings → Thresholds. Call it as threshold_style(v, 'cpu'). #}