diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-04-30 13:31:49 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-05-02 12:11:01 -0500 |
commit | 2a1e3a399c93ef2a944fec099234ba953ed66787 (patch) | |
tree | 1112596bea3c5ae6507a84e4570cbdcc3abfb4f3 /src/build/tools | |
parent | 9e236383304e7cf633bda1cfdafc02a5a6f90823 (diff) | |
download | talos-hostboot-2a1e3a399c93ef2a944fec099234ba953ed66787.tar.gz talos-hostboot-2a1e3a399c93ef2a944fec099234ba953ed66787.zip |
Improve visual aspects of releaseNotes.html
Task 40000
Change-Id: Id8793ca3736f1bbd2136e52d476ee4934a3973c7
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/968
Tested-by: Jenkins Server
Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build/tools')
-rwxr-xr-x | src/build/tools/hbRelease | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/src/build/tools/hbRelease b/src/build/tools/hbRelease index e545ee609..21f3b6796 100755 --- a/src/build/tools/hbRelease +++ b/src/build/tools/hbRelease @@ -479,11 +479,37 @@ sub create_release_notes open RELNOTE, "> ".git_root()."/releaseNotes.html"; print RELNOTE "<html>\n"; print RELNOTE " <head><title>Release notes for $level</title></head>\n"; + print RELNOTE <<STYLESHEET; + <style type="text/css"> + table.release { + border-width: 1px; + border-spacing: 2px; + border-style: outset; + border-color: gray; + border-collapse: separate; + background-color: white; + } + table.release th { + border-width: 1px; + padding: 1px; + border-style: inset; + border-color: gray; + background-color: white; + } + table.release td { + border-width: 1px; + padding: 1px; + border-style: inset; + border-color: gray; + background-color: white; + } + </style> +STYLESHEET print RELNOTE " <body>\n"; print RELNOTE "<h1>Level: $level</h1>\n"; print RELNOTE "<h2>Included commits:</h2>\n"; - print RELNOTE "<table>\n"; + print RELNOTE "<table class='release'>\n"; print RELNOTE " <tr>\n"; print RELNOTE " <th>RTC Number</th>\n"; print RELNOTE " <th>Subject</th>\n"; @@ -500,7 +526,7 @@ sub create_release_notes if ($rtc ne "") { $rtc_hyper = rtc_hyperlink($rtc); - $rtc_hyper = "<a href='$rtc_hyper'>$rtc</a>"; + $rtc_hyper = "<a href='$rtc_hyper' target='_blank'>$rtc</a>"; } print RELNOTE " <tr>\n"; @@ -1116,7 +1142,7 @@ sub config_get_level sub config_print_levels { my $levels = config_list_levels(); - foreach my $level (keys %$levels) + foreach my $level (sort keys %$levels) { print $level."\n"; } |