Commit 89f25679 authored by Dries's avatar Dries
Browse files

- Patch #783534 by dmitrig01, droplet, Nick Lewis: make Report table better.

parent 44c4a2b4
......@@ -2470,11 +2470,11 @@ function theme_status_report($variables) {
// Output table row(s)
if (!empty($requirement['description'])) {
$output .= '<tr class="' . $class . ' merge-down"><th>' . $requirement['title'] . '</th><td>' . $requirement['value'] . '</td></tr>';
$output .= '<tr class="' . $class . ' merge-down"><td>' . $requirement['title'] . '</td><td>' . $requirement['value'] . '</td></tr>';
$output .= '<tr class="' . $class . ' merge-up"><td colspan="2">' . $requirement['description'] . '</td></tr>';
}
else {
$output .= '<tr class="' . $class . '"><th>' . $requirement['title'] . '</th><td>' . $requirement['value'] . '</td></tr>';
$output .= '<tr class="' . $class . '"><td>' . $requirement['title'] . '</td><td>' . $requirement['value'] . '</td></tr>';
}
}
}
......
......@@ -476,7 +476,6 @@ table {
margin: 0 0 10px;
border: 1px solid #bebfb9;
}
table.system-status-report th,
table td,
table th {
vertical-align: middle;
......@@ -484,33 +483,6 @@ table th {
border: 0;
color: #000;
}
table.system-status-report th {
padding-left: 30px;
}
table.system-status-report tr.ok > * {
background-color: #dfd;
}
table.system-status-report tr.ok.even > * {
background-color: #d3f3d3;
}
table.system-status-report tr.info > * {
background-color: #bdf;
}
table.system-status-report tr.info.even > * {
background-color: #b1d1f1;
}
table.system-status-report tr.warning > * {
background-color: #ffd;
}
table.system-status-report tr.warning.even > * {
background-color: #f2f2d2;
}
table.system-status-report tr.error > * {
background-color: #fdd;
}
table.system-status-report tr.error.even > * {
background-color: #ecc;
}
tr.even,
tr.odd {
border-width: 0 1px 0 1px;
......@@ -537,7 +509,6 @@ table th {
border-color: #bebfb9;
padding: 3px 10px;
}
table th.active {
background: #bdbeb9;
}
......@@ -561,7 +532,21 @@ table tr.selected td {
background: #ffc;
border-color: #eeb;
}
table.system-status-report tr {
border-bottom: 1px solid #bebfb9;
}
table.system-status-report tr.ok td {
background-color: #dfd;
}
table.system-status-report tr.info td {
background-color: #bdf;
}
table.system-status-report tr.warning td {
background-color: #ffd;
}
table.system-status-report tr.error td {
background-color: #fdd;
}
/**
* Fieldsets.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment