1
0

Small CSS changes.

This commit is contained in:
2017-12-16 20:17:11 +01:00
parent 1edabd5b74
commit 9f6e0b7136
2 changed files with 12 additions and 3 deletions

View File

@ -31,13 +31,13 @@ foreach ($allVars as $family => $models) {
$allVersions = $db->getAllVersionsForModel($model);
echo '<table><tbody>';
foreach ($variants as $ref => $name) {
echo '<tr><td>' . $ref . '</td>';
echo '<tr><td class="ref">' . $ref . '</td>';
$refVersions = $db->getAllVersionsForRef($ref);
foreach ($allVersions as $v) {
if (in_array($v, $refVersions, true)) {
echo '<td>' . $v . '</td>';
} else {
echo '<td class="empty">------</td>';
echo '<td class="empty">- - -</td>';
}
}
echo '</tr>' . PHP_EOL;