|
|
@ -28,15 +28,17 @@ $this->title = 'Yii Debugger'; |
|
|
|
<div class="container"> |
|
|
|
<div class="container"> |
|
|
|
<div class="row"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-lg-2"> |
|
|
|
<div class="col-lg-2"> |
|
|
|
<ul class="nav nav-pills nav-stacked"> |
|
|
|
<div class="list-group affix-top"> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|
foreach ($panels as $id => $panel) { |
|
|
|
foreach ($panels as $id => $panel) { |
|
|
|
$link = Html::a(Html::encode($panel->getName()), array('view', 'tag' => $tag, 'panel' => $id)); |
|
|
|
$label = '<i class="glyphicon glyphicon-chevron-right"></i>' . Html::encode($panel->getName()); |
|
|
|
echo Html::tag('li', $link, array('class' => $panel === $activePanel ? 'active' : null)); |
|
|
|
echo Html::a($label, array('view', 'tag' => $tag, 'panel' => $id), array( |
|
|
|
|
|
|
|
'class' => $panel === $activePanel ? 'list-group-item active' : 'list-group-item', |
|
|
|
|
|
|
|
)); |
|
|
|
} |
|
|
|
} |
|
|
|
?> |
|
|
|
?> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div><!--/span--> |
|
|
|
</div> |
|
|
|
<div class="col-lg-10"> |
|
|
|
<div class="col-lg-10"> |
|
|
|
<div class="callout callout-danger"> |
|
|
|
<div class="callout callout-danger"> |
|
|
|
<?php |
|
|
|
<?php |
|
|
|