Browse Source

debug toolbar wip

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
b6ffa7c93e
  1. 17
      framework/yii/debug/views/default/index.php
  2. 6
      framework/yii/debug/views/layouts/main.php

17
framework/yii/debug/views/default/index.php

@ -10,7 +10,17 @@ use yii\helpers\Html;
*/
?>
<div class="default-index">
<div class="span3">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<span class="brand">Yii Debugger</span>
</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
@ -22,8 +32,9 @@ use yii\helpers\Html;
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span9">
<div class="span10">
<?php echo $activePanel->getDetail(); ?>
</div>
</div>
</div>
</div>

6
framework/yii/debug/views/layouts/main.php

@ -16,11 +16,7 @@ Yii::$app->getView()->registerAssetBundle('yii/bootstrap/responsive');
</head>
<body>
<?php $this->beginBody(); ?>
<div class="container-fluid">
<div class="row-fluid">
<?php echo $content; ?>
</div>
</div>
<?php echo $content; ?>
<?php $this->endBody(); ?>
</body>
<?php $this->endPage(); ?>

Loading…
Cancel
Save