Refactor exception view.
This commit is contained in:
@@ -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: ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user