debug toolbar refactoring.

This commit is contained in:
Qiang Xue
2013-07-06 08:05:02 -04:00
parent b6ffa7c93e
commit 840a84db5c
6 changed files with 15 additions and 36 deletions

View File

@@ -2,7 +2,9 @@
/**
* @var \yii\base\View $this
* @var \yii\debug\Panel[] $panels
* @var string $tag
*/
use yii\helpers\Html;
?>
<style>
#yii-debug-toolbar {
@@ -28,4 +30,7 @@
<?php foreach ($panels as $panel): ?>
<?php echo $panel->getSummary(); ?>
<?php endforeach; ?>
<div class="yii-debug-toolbar-block">
<?php echo Html::a('more details', array('index', 'tag' => $tag)); ?>
</div>
</div>