Commit 7237b581 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

admin/showlog.html, css: highlight ERROR lines in showlog

parent 3672dbf9
...@@ -1471,6 +1471,9 @@ table.log { ...@@ -1471,6 +1471,9 @@ table.log {
table.log textarea { table.log textarea {
width: 100%; width: 100%;
} }
.log-ERROR {
color: red;
}
.loglink { .loglink {
color: purple; color: purple;
text-decoration: none; text-decoration: none;
......
...@@ -1471,6 +1471,9 @@ table.log { ...@@ -1471,6 +1471,9 @@ table.log {
table.log textarea { table.log textarea {
width: 100%; width: 100%;
} }
.log-ERROR {
color: red;
}
.loglink { .loglink {
color: purple; color: purple;
text-decoration: none; text-decoration: none;
......
...@@ -1669,6 +1669,10 @@ table.log textarea ...@@ -1669,6 +1669,10 @@ table.log textarea
width: 100%; width: 100%;
} }
.log-ERROR {
color: red;
}
.loglink { .loglink {
color: purple; color: purple;
text-decoration: none; text-decoration: none;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</thead> </thead>
{{for line in lines :}} {{for line in lines :}}
<tr> <tr class='log-{{=line["type"]}}'>
{{ if format: }} {{ if format: }}
<td> {{=line["date"]}} </td> <td> {{=line["date"]}} </td>
<td> {{=line["date2"]}} </td> <td> {{=line["date2"]}} </td>
......
Supports Markdown
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