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="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"> <div class="well sidebar-nav">
<ul class="nav nav-list"> <ul class="nav nav-list">
<?php <?php
@ -22,8 +32,9 @@ use yii\helpers\Html;
</ul> </ul>
</div><!--/.well --> </div><!--/.well -->
</div><!--/span--> </div><!--/span-->
<div class="span9"> <div class="span10">
<?php echo $activePanel->getDetail(); ?> <?php echo $activePanel->getDetail(); ?>
</div> </div>
</div>
</div>
</div> </div>

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

@ -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(); ?>

Loading…
Cancel
Save