From d1da8c5823f75ad078aacba9416c60d09fe08871 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 26 Aug 2026 09:16:46 +0300 Subject: [PATCH] feat: make broker status information into a list This is more visually distinct than a plain paragraph, but less heavy than a heading. --- src/pages.rs | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/pages.rs b/src/pages.rs index 6404d243..5887b5ba 100644 --- a/src/pages.rs +++ b/src/pages.rs @@ -121,17 +121,21 @@ impl PageData { } fn broker_status(&self, doc: &mut ReportPage) { - doc.h2("Broker status"); doc.push( - Element::new(Tag::P) - .with_text("Last updated: ") - .with_text(&self.timestamp) - .with_child(Element::new(Tag::Br)) - .with_text("CI broker version: ") - .with_text(self.ci_broker_version) - .with_text(" (commit ") - .with_child(Element::new(Tag::Code).with_text(self.ci_broker_git_commit)) - .with_text(")"), + Element::new(Tag::Ul) + .with_child( + Element::new(Tag::Li) + .with_text("This page last updated: ") + .with_text(&self.timestamp), + ) + .with_child( + Element::new(Tag::Li) + .with_text("CI broker version: ") + .with_text(self.ci_broker_version) + .with_text(" (commit ") + .with_child(Element::new(Tag::Code).with_text(self.ci_broker_git_commit)) + .with_text(")"), + ), ); }