error log: make it more readable
This commit is contained in:
parent
5cfc5914f2
commit
73070544ca
|
@ -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'>" .
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue