Commit b6ffa7c9 by Qiang Xue

debug toolbar wip

parent fae44063
...@@ -10,20 +10,31 @@ use yii\helpers\Html; ...@@ -10,20 +10,31 @@ use yii\helpers\Html;
*/ */
?> ?>
<div class="default-index"> <div class="default-index">
<div class="span3"> <div class="navbar">
<div class="well sidebar-nav"> <div class="navbar-inner">
<ul class="nav nav-list"> <div class="container">
<?php <span class="brand">Yii Debugger</span>
foreach ($panels as $panel) { </div>
$link = Html::a(Html::encode($panel->getName()), array('debug/default/index', 'tag' => $tag, 'panel' => $panel->id)); </div>
echo Html::tag('li', $link, array('class' => $panel === $activePanel ? 'active' : null));
}
?>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<?php echo $activePanel->getDetail(); ?>
</div> </div>
</div>
<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>
...@@ -16,11 +16,7 @@ Yii::$app->getView()->registerAssetBundle('yii/bootstrap/responsive'); ...@@ -16,11 +16,7 @@ Yii::$app->getView()->registerAssetBundle('yii/bootstrap/responsive');
</head> </head>
<body> <body>
<?php $this->beginBody(); ?> <?php $this->beginBody(); ?>
<div class="container-fluid"> <?php echo $content; ?>
<div class="row-fluid">
<?php echo $content; ?>
</div>
</div>
<?php $this->endBody(); ?> <?php $this->endBody(); ?>
</body> </body>
<?php $this->endPage(); ?> <?php $this->endPage(); ?>
......
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