Skip to content
Snippets Groups Projects
Commit 89f25679 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 44c4a2b4
No related branches found
No related tags found
No related merge requests found
...@@ -2470,11 +2470,11 @@ function theme_status_report($variables) { ...@@ -2470,11 +2470,11 @@ function theme_status_report($variables) {
// Output table row(s) // Output table row(s)
if (!empty($requirement['description'])) { 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>'; $output .= '<tr class="' . $class . ' merge-up"><td colspan="2">' . $requirement['description'] . '</td></tr>';
} }
else { 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 { ...@@ -476,7 +476,6 @@ table {
margin: 0 0 10px; margin: 0 0 10px;
border: 1px solid #bebfb9; border: 1px solid #bebfb9;
} }
table.system-status-report th,
table td, table td,
table th { table th {
vertical-align: middle; vertical-align: middle;
...@@ -484,33 +483,6 @@ table th { ...@@ -484,33 +483,6 @@ table th {
border: 0; border: 0;
color: #000; 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.even,
tr.odd { tr.odd {
border-width: 0 1px 0 1px; border-width: 0 1px 0 1px;
...@@ -537,7 +509,6 @@ table th { ...@@ -537,7 +509,6 @@ table th {
border-color: #bebfb9; border-color: #bebfb9;
padding: 3px 10px; padding: 3px 10px;
} }
table th.active { table th.active {
background: #bdbeb9; background: #bdbeb9;
} }
...@@ -561,7 +532,21 @@ table tr.selected td { ...@@ -561,7 +532,21 @@ table tr.selected td {
background: #ffc; background: #ffc;
border-color: #eeb; 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. * Fieldsets.
* *
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment