Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Add placeholders for unknown entries, tone down colors a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jul 25, 2011
1 parent 3767f94 commit 79b0910
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 3 additions & 3 deletions process.pl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ sub write_html {
'+' => 'implemented',
"\N{U+00B1}" => 'partial',
'-' => 'missing',
'' => 'unknown',
'?' => 'unknown',
);

my @rows;
Expand All @@ -87,8 +87,8 @@ sub write_html {
$ht_row{feature} = shift @row;
$ht_row{compilers} = [ map {
{
status => $row[$_] // '',
class => $status_map{$row[$_] // ''},
status => $row[$_] // '?',
class => $status_map{$row[$_] // '?'},
}
} 0..($index - 1) ];
push @rows, \%ht_row;
Expand Down
12 changes: 9 additions & 3 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,17 @@
}
.partial {
background-color: #fb4;
color: black;
color: #333;
}
.missing {
background-color: #f22;
background-color: #f55;
color: white;
}
.implemented, .partial, .missing {
.unknown {
background-color: #ccc;
color: white;
}
.implemented, .partial, .missing, .unknown {
text-align: center;
width: 150px;
font-weight: bold;
Expand Down Expand Up @@ -46,6 +50,8 @@ <h2>Legend</h2>
<dd>partially implemented</dd>
<dt class="missing">-</dt>
<dd>not yet implemented</dd>
<dt class="unknown">?</dt>
<dd>unknown status</dd>
</dl>

<h2>Features</h2>
Expand Down

0 comments on commit 79b0910

Please sign in to comment.