mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
异常模板调整
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
color: #4288ce;
|
color: #4288ce;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
margin: 24px 0 0;
|
margin: 10px 6px 0 0;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
}
|
}
|
||||||
@@ -58,9 +58,6 @@
|
|||||||
border-top-right-radius: 4px;
|
border-top-right-radius: 4px;
|
||||||
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
|
font-family: Consolas,"Liberation Mono",Courier,Verdana,"微软雅黑";
|
||||||
}
|
}
|
||||||
.exception .message div{
|
|
||||||
margin:8px 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.exception .code{
|
.exception .code{
|
||||||
float: left;
|
float: left;
|
||||||
@@ -189,7 +186,7 @@
|
|||||||
|
|
||||||
<div class="info">
|
<div class="info">
|
||||||
<div>
|
<div>
|
||||||
[<?php echo $code; ?>] <?php echo sprintf('%s in %s', parse_class($name), parse_file($file, $line)); ?>
|
<h2>[<?php echo $code; ?>] <?php echo sprintf('%s in %s', parse_class($name), parse_file($file, $line)); ?></h2>
|
||||||
</div>
|
</div>
|
||||||
<div><h1><?php echo htmlentities($message); ?></h1></div>
|
<div><h1><?php echo htmlentities($message); ?></h1></div>
|
||||||
</div>
|
</div>
|
||||||
@@ -199,7 +196,7 @@
|
|||||||
<pre class="prettyprint lang-php"><ol start="<?php echo $source['first']; ?>"><?php foreach ((array) $source['source'] as $key => $value) { ?><li class="line-<?php echo $key + $source['first']; ?>"><code><?php echo htmlentities($value); ?></code></li><?php } ?></ol></pre>
|
<pre class="prettyprint lang-php"><ol start="<?php echo $source['first']; ?>"><?php foreach ((array) $source['source'] as $key => $value) { ?><li class="line-<?php echo $key + $source['first']; ?>"><code><?php echo htmlentities($value); ?></code></li><?php } ?></ol></pre>
|
||||||
</div>
|
</div>
|
||||||
<div class="trace">
|
<div class="trace">
|
||||||
<h3>Call Stack</h3>
|
<h2>Call Stack</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li><?php echo sprintf('in %s', parse_file($file, $line)); ?></li>
|
<li><?php echo sprintf('in %s', parse_file($file, $line)); ?></li>
|
||||||
<?php foreach ((array) $trace as $value) { ?>
|
<?php foreach ((array) $trace as $value) { ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user