Refactor exception view.
This commit is contained in:
parent
4fc4d04028
commit
4b25d9e4d2
|
@ -45,7 +45,7 @@
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.strong {
|
pre.highlight {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #990000;
|
color: #990000;
|
||||||
}
|
}
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
<?php if (count($contexts) > 0): ?>
|
<?php if (count($contexts) > 0): ?>
|
||||||
|
|
||||||
<?php foreach($contexts as $num => $context): ?>
|
<?php foreach($contexts as $num => $context): ?>
|
||||||
<pre class="context <?php echo ($line == $num) ? 'strong' : ''; ?>"><?php echo htmlentities($num.': '.$context); ?></pre>
|
<pre class="context <?php echo ($line == $num) ? 'highlight' : ''; ?>"><?php echo htmlentities($num.': '.$context); ?></pre>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
|
|
Loading…
Reference in New Issue