mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-12-27 04:54:08 +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 {
|
table td+td {
|
||||||
border-left: 1px dashed green;
|
border-left: 1px dashed silver;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.ref {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
td.empty {
|
td.empty {
|
||||||
color: silver;
|
color: silver;
|
||||||
}
|
}
|
||||||
|
@ -31,13 +31,13 @@ foreach ($allVars as $family => $models) {
|
|||||||
$allVersions = $db->getAllVersionsForModel($model);
|
$allVersions = $db->getAllVersionsForModel($model);
|
||||||
echo '<table><tbody>';
|
echo '<table><tbody>';
|
||||||
foreach ($variants as $ref => $name) {
|
foreach ($variants as $ref => $name) {
|
||||||
echo '<tr><td>' . $ref . '</td>';
|
echo '<tr><td class="ref">' . $ref . '</td>';
|
||||||
$refVersions = $db->getAllVersionsForRef($ref);
|
$refVersions = $db->getAllVersionsForRef($ref);
|
||||||
foreach ($allVersions as $v) {
|
foreach ($allVersions as $v) {
|
||||||
if (in_array($v, $refVersions, true)) {
|
if (in_array($v, $refVersions, true)) {
|
||||||
echo '<td>' . $v . '</td>';
|
echo '<td>' . $v . '</td>';
|
||||||
} else {
|
} else {
|
||||||
echo '<td class="empty">------</td>';
|
echo '<td class="empty">- - -</td>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo '</tr>' . PHP_EOL;
|
echo '</tr>' . PHP_EOL;
|
||||||
|
Loading…
Reference in New Issue
Block a user