mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-11-09 23:06:45 +00:00
Small CSS changes.
This commit is contained in:
parent
1edabd5b74
commit
9f6e0b7136
@ -1,11 +1,20 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
table td+td {
|
||||
border-left: 1px dashed green;
|
||||
border-left: 1px dashed silver;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
td.ref {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td.empty {
|
||||
color: silver;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user