Commit da13b336 by Qiang Xue

minor css fixes.

parent 14064492
......@@ -36,7 +36,6 @@
border-right: 1px solid #e4e4e4;
padding: 4px 8px;
line-height: 32px;
height: 40px;
white-space: nowrap;
}
......
......@@ -9,8 +9,8 @@ use yii\helpers\Html;
<div class="yii-debug-toolbar-block">
<a href="<?= $panel->getUrl() ?>">
Yii
<span class="label label-info"><?= $panel->data['application']['yii'] ?></span>
<span class="label"><?= $panel->data['application']['yii'] ?></span>
PHP
<span class="label label-info"><?= $panel->data['php']['version'] ?></span>
<span class="label"><?= $panel->data['php']['version'] ?></span>
</a>
</div>
<?php if ($queryCount): ?>
<div class="yii-debug-toolbar-block">
<a href="<?= $panel->getUrl() ?>" title="Executed <?php echo $queryCount; ?> database queries which took <?= $queryTime ?>.">
DB <span class="label"><?= $queryCount ?></span> <span class="label"><?= $queryTime ?></span>
DB <span class="label label-info"><?= $queryCount ?></span> <span class="label"><?= $queryTime ?></span>
</a>
</div>
<?php endif; ?>
<div class="yii-debug-toolbar-block">
<a href="<?= $panel->getUrl() ?>" title="Total request processing time was <?= $time ?>">Time <span class="label"><?= $time ?></span></a>
<a href="<?= $panel->getUrl() ?>" title="Peak memory consumption">Memory <span class="label"><?= $memory ?></span></a>
<a href="<?= $panel->getUrl() ?>" title="Total request processing time was <?= $time ?>">Time <span class="label label-info"><?= $time ?></span></a>
<a href="<?= $panel->getUrl() ?>" title="Peak memory consumption">Memory <span class="label label-info"><?= $memory ?></span></a>
</div>
......@@ -6,7 +6,6 @@
* @var string $position
*/
use yii\helpers\Html;
use yii\debug\panels\ConfigPanel;
$minJs = <<<EOD
document.getElementById('yii-debug-toolbar').style.display = 'none';
......
......@@ -81,6 +81,7 @@ html,body{
}
.header h2{
font-size: 20px;
line-height: 1.25;
}
/* previous exceptions */
......@@ -360,9 +361,7 @@ pre .diff .change{
?></h1>
<?php endif; ?>
<h2><?= nl2br($handler->htmlEncode($exception->getMessage())) ?></h2>
<?php if ($exception instanceof \yii\db\Exception && $exception->errorInfo !== null): ?>
<pre><?= var_export($exception->errorInfo, true) ?></pre>
<?php endif; ?>
<?= $handler->renderPreviousExceptions($exception) ?>
</div>
......
Markdown is supported
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