mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 21:31:33 +00:00
error log: make it more readable
This commit is contained in:
@@ -98,7 +98,7 @@ class Pref_System extends Handler_Protected {
|
|||||||
|
|
||||||
print '<div style="padding : 0px" dojoType="dijit.layout.ContentPane" region="center">';
|
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'>
|
print "<tr class='title'>
|
||||||
<td width='5%'>".__("Error")."</td>
|
<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='errno'>" . Logger::$errornames[$line["errno"]] . " (" . $line["errno"] . ")</td>";
|
||||||
print "<td class='filename'>" . $line["filename"] . ":" . $line["lineno"] . "</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='login'>" . $line["login"] . "</td>";
|
||||||
|
|
||||||
print "<td class='timestamp'>" .
|
print "<td class='timestamp'>" .
|
||||||
|
|||||||
@@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description {
|
|||||||
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr td {
|
body.ttrss_prefs .event-log tr td {
|
||||||
font-size: 10px;
|
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-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .errstr {
|
body.ttrss_prefs .event-log tr .errstr {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .filename,
|
body.ttrss_prefs .event-log tr .filename,
|
||||||
body.ttrss_prefs .prefErrorLog tr .login,
|
body.ttrss_prefs .event-log tr .login,
|
||||||
body.ttrss_prefs .prefErrorLog tr .timestamp {
|
body.ttrss_prefs .event-log tr .timestamp {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs hr {
|
body.ttrss_prefs hr {
|
||||||
|
|||||||
@@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description {
|
|||||||
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr td {
|
body.ttrss_prefs .event-log tr td {
|
||||||
font-size: 10px;
|
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-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .errstr {
|
body.ttrss_prefs .event-log tr .errstr {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .filename,
|
body.ttrss_prefs .event-log tr .filename,
|
||||||
body.ttrss_prefs .prefErrorLog tr .login,
|
body.ttrss_prefs .event-log tr .login,
|
||||||
body.ttrss_prefs .prefErrorLog tr .timestamp {
|
body.ttrss_prefs .event-log tr .timestamp {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs hr {
|
body.ttrss_prefs hr {
|
||||||
|
|||||||
@@ -1495,20 +1495,26 @@ body.ttrss_prefs fieldset.plugin label.description {
|
|||||||
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr td {
|
body.ttrss_prefs .event-log tr td {
|
||||||
font-size: 10px;
|
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-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .errstr {
|
body.ttrss_prefs .event-log tr .errstr {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .filename,
|
body.ttrss_prefs .event-log tr .filename,
|
||||||
body.ttrss_prefs .prefErrorLog tr .login,
|
body.ttrss_prefs .event-log tr .login,
|
||||||
body.ttrss_prefs .prefErrorLog tr .timestamp {
|
body.ttrss_prefs .event-log tr .timestamp {
|
||||||
color: #555;
|
color: #555;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs hr {
|
body.ttrss_prefs hr {
|
||||||
|
|||||||
@@ -112,10 +112,15 @@ body.ttrss_prefs {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.prefErrorLog {
|
.event-log {
|
||||||
tr {
|
tr {
|
||||||
td {
|
td {
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
padding : 8px;
|
||||||
|
vertical-align : top;
|
||||||
|
border-width : 0 0 1px 0;
|
||||||
|
border-style : solid;
|
||||||
|
border-color : @border-default;
|
||||||
}
|
}
|
||||||
|
|
||||||
.errno {
|
.errno {
|
||||||
@@ -125,7 +130,8 @@ body.ttrss_prefs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.errstr {
|
.errstr {
|
||||||
word-break: break-all;
|
word-break : break-all;
|
||||||
|
white-space : pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.filename, .login, .timestamp {
|
.filename, .login, .timestamp {
|
||||||
|
|||||||
@@ -1496,20 +1496,26 @@ body.ttrss_prefs fieldset.plugin label.description {
|
|||||||
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr td {
|
body.ttrss_prefs .event-log tr td {
|
||||||
font-size: 10px;
|
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-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .errstr {
|
body.ttrss_prefs .event-log tr .errstr {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .filename,
|
body.ttrss_prefs .event-log tr .filename,
|
||||||
body.ttrss_prefs .prefErrorLog tr .login,
|
body.ttrss_prefs .event-log tr .login,
|
||||||
body.ttrss_prefs .prefErrorLog tr .timestamp {
|
body.ttrss_prefs .event-log tr .timestamp {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs hr {
|
body.ttrss_prefs hr {
|
||||||
|
|||||||
@@ -1496,20 +1496,26 @@ body.ttrss_prefs fieldset.plugin label.description {
|
|||||||
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
body.ttrss_prefs fieldset.plugin label.description .dijitCheckBox {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr td {
|
body.ttrss_prefs .event-log tr td {
|
||||||
font-size: 10px;
|
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-style: italic;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .errstr {
|
body.ttrss_prefs .event-log tr .errstr {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs .prefErrorLog tr .filename,
|
body.ttrss_prefs .event-log tr .filename,
|
||||||
body.ttrss_prefs .prefErrorLog tr .login,
|
body.ttrss_prefs .event-log tr .login,
|
||||||
body.ttrss_prefs .prefErrorLog tr .timestamp {
|
body.ttrss_prefs .event-log tr .timestamp {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
}
|
}
|
||||||
body.ttrss_prefs hr {
|
body.ttrss_prefs hr {
|
||||||
|
|||||||
Reference in New Issue
Block a user