You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
935 B

12 years ago
<?php
use yii\helpers\Html;
/**
* @var \yii\base\View $this
* @var string $tag
* @var \yii\debug\Panel[] $panels
* @var \yii\debug\Panel $activePanel
*/
?>
12 years ago
<div class="default-index">
12 years ago
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<span class="brand">Yii Debugger</span>
</div>
</div>
12 years ago
</div>
12 years ago
12 years ago
<div class="container-fluid">
<div class="row-fluid">
<div class="span2">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<?php
foreach ($panels as $panel) {
$link = Html::a(Html::encode($panel->getName()), array('debug/default/index', 'tag' => $tag, 'panel' => $panel->id));
echo Html::tag('li', $link, array('class' => $panel === $activePanel ? 'active' : null));
}
?>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span10">
<?php echo $activePanel->getDetail(); ?>
</div>
</div>
</div>
</div>