From bc4bde474e3377c603c750d93f6484f44ceee7da Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 1 Jan 2024 14:31:12 -0800 Subject: Give the mirror summary page a title Also, use CSS to highlight the colour summary. --- modules/mga-mirrors/files/check_mirrors_status | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index e6255405..c0e6a53b 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -140,7 +140,7 @@ def format_age(ref_time, time) end def print_output(archs_per_distro, mirrors, ref_times, times) - puts " + puts "Mageia Mirror Status #{Time.now.strftime("%F")} + " puts "Last checked on #{Time.now.strftime("%F %R")}
" - puts "
Up to dateLess than 12h oldLess than 2 days oldOld or broken
" + puts "
Up to dateLess than 12h oldLess than 2 days oldOld or broken
" puts "" puts "" -- cgit v1.2.1
" puts "Base directory