diff --git a/classes/pref/system.php b/classes/pref/system.php index 9b8ce29be4cc018dab3f8a39024d49f88176a753..e21209427a6911d494ac6001d4d4641667497229 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -98,7 +98,7 @@ class Pref_System extends Handler_Protected { print '<div style="padding : 0px" dojoType="dijit.layout.ContentPane" region="center">'; - print "<table width='100%' cellspacing='10' class='prefErrorLog'>"; + print "<table width='100%' class='event-log'>"; print "<tr class='title'> <td width='5%'>".__("Error")."</td> @@ -129,7 +129,7 @@ class Pref_System extends Handler_Protected { print "<td class='errno'>" . Logger::$errornames[$line["errno"]] . " (" . $line["errno"] . ")</td>"; print "<td class='filename'>" . $line["filename"] . ":" . $line["lineno"] . "</td>"; - print "<td class='errstr'>" . $line["errstr"] . "<hr/>" . nl2br($line["context"]) . "</td>"; + print "<td class='errstr'>" . $line["errstr"] . "\n" . $line["context"] . "</td>"; print "<td class='login'>" . $line["login"] . "</td>"; print "<td class='timestamp'>" . diff --git a/themes/compact.css b/themes/compact.css index 9e936befa91846091207ca8cad6198126fb95c5d..d9244d4e1639dc211bb7c29b5fca34b1e94d1f87 100644 --- a/themes/compact.css +++ b/themes/compact.css @@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } -body.ttrss_prefs .prefErrorLog tr td { +body.ttrss_prefs .event-log tr td { font-size: 10px; + padding: 8px; + vertical-align: top; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #ddd; } -body.ttrss_prefs .prefErrorLog tr .errno { +body.ttrss_prefs .event-log tr .errno { font-style: italic; font-weight: bold; white-space: nowrap; } -body.ttrss_prefs .prefErrorLog tr .errstr { +body.ttrss_prefs .event-log tr .errstr { word-break: break-all; + white-space: pre-wrap; } -body.ttrss_prefs .prefErrorLog tr .filename, -body.ttrss_prefs .prefErrorLog tr .login, -body.ttrss_prefs .prefErrorLog tr .timestamp { +body.ttrss_prefs .event-log tr .filename, +body.ttrss_prefs .event-log tr .login, +body.ttrss_prefs .event-log tr .timestamp { color: #555; } body.ttrss_prefs hr { diff --git a/themes/compact_night.css b/themes/compact_night.css index 0e56dc5cc8fb1b57f67e8efbe444446632d28656..6a10fa68325d3417dcfab93da827be92b4aff3c5 100644 --- a/themes/compact_night.css +++ b/themes/compact_night.css @@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } -body.ttrss_prefs .prefErrorLog tr td { +body.ttrss_prefs .event-log tr td { font-size: 10px; + padding: 8px; + vertical-align: top; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #222; } -body.ttrss_prefs .prefErrorLog tr .errno { +body.ttrss_prefs .event-log tr .errno { font-style: italic; font-weight: bold; white-space: nowrap; } -body.ttrss_prefs .prefErrorLog tr .errstr { +body.ttrss_prefs .event-log tr .errstr { word-break: break-all; + white-space: pre-wrap; } -body.ttrss_prefs .prefErrorLog tr .filename, -body.ttrss_prefs .prefErrorLog tr .login, -body.ttrss_prefs .prefErrorLog tr .timestamp { +body.ttrss_prefs .event-log tr .filename, +body.ttrss_prefs .event-log tr .login, +body.ttrss_prefs .event-log tr .timestamp { color: #ccc; } body.ttrss_prefs hr { diff --git a/themes/light.css b/themes/light.css index 8467c346fab3bf55e6dd7373ae7afb7e38df51b5..fcf6ff1152dbd68a1ac26149b4117898445f8fba 100644 --- a/themes/light.css +++ b/themes/light.css @@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } -body.ttrss_prefs .prefErrorLog tr td { +body.ttrss_prefs .event-log tr td { font-size: 10px; + padding: 8px; + vertical-align: top; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #ddd; } -body.ttrss_prefs .prefErrorLog tr .errno { +body.ttrss_prefs .event-log tr .errno { font-style: italic; font-weight: bold; white-space: nowrap; } -body.ttrss_prefs .prefErrorLog tr .errstr { +body.ttrss_prefs .event-log tr .errstr { word-break: break-all; + white-space: pre-wrap; } -body.ttrss_prefs .prefErrorLog tr .filename, -body.ttrss_prefs .prefErrorLog tr .login, -body.ttrss_prefs .prefErrorLog tr .timestamp { +body.ttrss_prefs .event-log tr .filename, +body.ttrss_prefs .event-log tr .login, +body.ttrss_prefs .event-log tr .timestamp { color: #555; } body.ttrss_prefs hr { diff --git a/themes/light/prefs.less b/themes/light/prefs.less index 4d3e93688a7eb9dfc7b87d815c3bd7739b198cd4..9f8afc47acbe6e7ab842e7c7d7d710e14925f0b9 100644 --- a/themes/light/prefs.less +++ b/themes/light/prefs.less @@ -112,10 +112,15 @@ body.ttrss_prefs { } } - .prefErrorLog { + .event-log { tr { td { font-size: 10px; + padding : 8px; + vertical-align : top; + border-width : 0 0 1px 0; + border-style : solid; + border-color : @border-default; } .errno { @@ -125,7 +130,8 @@ body.ttrss_prefs { } .errstr { - word-break: break-all; + word-break : break-all; + white-space : pre-wrap; } .filename, .login, .timestamp { diff --git a/themes/night.css b/themes/night.css index 86e8f0a0fa529093e837b514e67f299c60cd2a97..49c616bef1e99c22212f1d799d8e458c575ec0ff 100644 --- a/themes/night.css +++ b/themes/night.css @@ -1496,20 +1496,26 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } -body.ttrss_prefs .prefErrorLog tr td { +body.ttrss_prefs .event-log tr td { font-size: 10px; + padding: 8px; + vertical-align: top; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #222; } -body.ttrss_prefs .prefErrorLog tr .errno { +body.ttrss_prefs .event-log tr .errno { font-style: italic; font-weight: bold; white-space: nowrap; } -body.ttrss_prefs .prefErrorLog tr .errstr { +body.ttrss_prefs .event-log tr .errstr { word-break: break-all; + white-space: pre-wrap; } -body.ttrss_prefs .prefErrorLog tr .filename, -body.ttrss_prefs .prefErrorLog tr .login, -body.ttrss_prefs .prefErrorLog tr .timestamp { +body.ttrss_prefs .event-log tr .filename, +body.ttrss_prefs .event-log tr .login, +body.ttrss_prefs .event-log tr .timestamp { color: #ccc; } body.ttrss_prefs hr { diff --git a/themes/night_blue.css b/themes/night_blue.css index 51c12baa3277333b4cb5084803d167b13b23fdbe..360ea9e6b4575a9ea53bc650ce4a2b563bea9265 100644 --- a/themes/night_blue.css +++ b/themes/night_blue.css @@ -1496,20 +1496,26 @@ body.ttrss_prefs fieldset.plugin label.description { body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox { margin-right: 10px; } -body.ttrss_prefs .prefErrorLog tr td { +body.ttrss_prefs .event-log tr td { font-size: 10px; + padding: 8px; + vertical-align: top; + border-width: 0 0 1px 0; + border-style: solid; + border-color: #222; } -body.ttrss_prefs .prefErrorLog tr .errno { +body.ttrss_prefs .event-log tr .errno { font-style: italic; font-weight: bold; white-space: nowrap; } -body.ttrss_prefs .prefErrorLog tr .errstr { +body.ttrss_prefs .event-log tr .errstr { word-break: break-all; + white-space: pre-wrap; } -body.ttrss_prefs .prefErrorLog tr .filename, -body.ttrss_prefs .prefErrorLog tr .login, -body.ttrss_prefs .prefErrorLog tr .timestamp { +body.ttrss_prefs .event-log tr .filename, +body.ttrss_prefs .event-log tr .login, +body.ttrss_prefs .event-log tr .timestamp { color: #ccc; } body.ttrss_prefs hr {