summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-02-19 20:02:22 +0000
committerBart Polot <bart@net.in.tum.de>2014-02-19 20:02:22 +0000
commita2f3d372524d4ae2a66bdab89a813b9cd0b8c4c4 (patch)
tree65449f7ebd89b339ac0fb969a4a08ea83dd2c9f8 /contrib
parent0d5922000f0483e5cc22bf7073a9d3384d08bc60 (diff)
- use <pre> for messages
Diffstat (limited to 'contrib')
-rw-r--r--contrib/log.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/log.php b/contrib/log.php
index 0eee5bcaa..8b7f2cc59 100644
--- a/contrib/log.php
+++ b/contrib/log.php
@@ -25,7 +25,7 @@ function render_row ($d, $component, $pid, $level, $msg, $c)
echo $d ? $d->format('u') : "";
echo '</small></td>';
echo "<td class=\"comp\">$comp</td><td class=\"peer\">$peer</td>";
- echo "<td class=\"level\">$level</td><td>$msg&nbsp;</td>";
+ echo "<td class=\"level\">$level</td><td><pre>$msg</pre></td>";
if ($level != "DEBUG")
{
echo '<td><div class="btn-group"><button class="btn btn-xs btn-default btn-showup"><span class="glyphicon glyphicon-chevron-up"></span></button>';
@@ -125,12 +125,16 @@ if ($start !== null || $stop !== null) {
font-family: arial,sans-serif;
}
table {
- font-family: courier,sans-serif;
color:#000;
margin-top: 40px;
font-size:12px;
border-collapse:collapse;
}
+ pre {
+ padding: 0px;
+ margin: 0px;
+ border: 0px;
+ }
.alert {
display: none;
position: fixed;