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

Commit 79b0910

Browse files
committed
Add placeholders for unknown entries, tone down colors a bit.
1 parent 3767f94 commit 79b0910

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

process.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ sub write_html {
7474
'+' => 'implemented',
7575
"\N{U+00B1}" => 'partial',
7676
'-' => 'missing',
77-
'' => 'unknown',
77+
'?' => 'unknown',
7878
);
7979

8080
my @rows;
@@ -87,8 +87,8 @@ sub write_html {
8787
$ht_row{feature} = shift @row;
8888
$ht_row{compilers} = [ map {
8989
{
90-
status => $row[$_] // '',
91-
class => $status_map{$row[$_] // ''},
90+
status => $row[$_] // '?',
91+
class => $status_map{$row[$_] // '?'},
9292
}
9393
} 0..($index - 1) ];
9494
push @rows, \%ht_row;

template.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@
1212
}
1313
.partial {
1414
background-color: #fb4;
15-
color: black;
15+
color: #333;
1616
}
1717
.missing {
18-
background-color: #f22;
18+
background-color: #f55;
1919
color: white;
2020
}
21-
.implemented, .partial, .missing {
21+
.unknown {
22+
background-color: #ccc;
23+
color: white;
24+
}
25+
.implemented, .partial, .missing, .unknown {
2226
text-align: center;
2327
width: 150px;
2428
font-weight: bold;
@@ -46,6 +50,8 @@ <h2>Legend</h2>
4650
<dd>partially implemented</dd>
4751
<dt class="missing">-</dt>
4852
<dd>not yet implemented</dd>
53+
<dt class="unknown">?</dt>
54+
<dd>unknown status</dd>
4955
</dl>
5056

5157
<h2>Features</h2>

0 commit comments

Comments
 (0)