From 88e7a52c7e6431e8d5e14a7affdef70256f71266 Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Thu, 25 Dec 2025 17:20:56 +0100 Subject: [PATCH] fix: use page_header_flex macro for platform health page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace page_header with page_header_flex to properly support the call block pattern with refresh button. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- app/templates/admin/platform-health.html | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/app/templates/admin/platform-health.html b/app/templates/admin/platform-health.html index 946b2105..25bd29f1 100644 --- a/app/templates/admin/platform-health.html +++ b/app/templates/admin/platform-health.html @@ -1,23 +1,15 @@ {# app/templates/admin/platform-health.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} -{% from 'shared/macros/headers.html' import page_header %} +{% from 'shared/macros/headers.html' import page_header_flex, refresh_button %} {% block title %}Platform Health{% endblock %} {% block alpine_data %}adminPlatformHealth(){% endblock %} {% block content %} -{% call page_header("Platform Health", subtitle="System metrics, capacity monitoring, and scaling recommendations") %} - +{% call page_header_flex(title='Platform Health', subtitle='System metrics, capacity monitoring, and scaling recommendations') %} + {{ refresh_button(variant='primary') }} {% endcall %} {{ loading_state('Loading platform health...') }}