From dbbf3c7896531e8a4546d36b3281af99034efbc0 Mon Sep 17 00:00:00 2001 From: Gregory Bartholomew Date: Jun 17 2021 18:03:20 +0000 Subject: Add link back to schedules home page --- diff --git a/html/fedora-schedule.css b/html/fedora-schedule.css index a2781c4..6e13a2a 100644 --- a/html/fedora-schedule.css +++ b/html/fedora-schedule.css @@ -31,6 +31,12 @@ body { H1 { text-align: center; + margin-bottom: 0; +} + +H1 + div { + text-align: center; + margin-bottom: 1.5em; } table { diff --git a/pgm-build-fedora b/pgm-build-fedora index 658f79f..876317a 100755 --- a/pgm-build-fedora +++ b/pgm-build-fedora @@ -146,6 +146,9 @@ fi for key in "${!reports[@]}"; do echo Generating $key + # Link back to top level schedule + export HTML_HEADER_FEDORA_SCHEDULE='
[back to all schedules]
' + # Links to previous 2 (maintained) releases HTML_HEADER_FEDORA_LINKS="F$((FEDORA_VERSION+1)) " for i in 1 2; do @@ -163,6 +166,7 @@ for key in "${!reports[@]}"; do HTML_FOOTER="

Get this schedule as [.ics] [.json]

" $BUILD_CMD $SCHEDULE_SRC f-$FEDORA_VERSION-$key-tasks.html --flat --sort date_start --html-table-header="$HTML_HEADER" ${reports_param[$key]} --html-table-footer="$HTML_FOOTER" --html-title="Fedora Linux $FEDORA_VERSION Schedule: ${reports[$key]}" --html-css-href="/groups/schedule/fedora-schedule.css" --html-level-indent 1 + perl -i -ne 'print; /^(\s*)

/ && print "${1}", $ENV{HTML_HEADER_FEDORA_SCHEDULE}, "\n"' f-$FEDORA_VERSION-$key-tasks.html $BUILD_CMD $SCHEDULE_SRC f-$FEDORA_VERSION-$key.ics --target-format=ics ${reports_param[$key]} $BUILD_CMD $SCHEDULE_SRC f-$FEDORA_VERSION-$key.json --target-format=json ${reports_param[$key]} done