Commit 09f303a5 by Tobias Munk

moved 'Yii Debugger' from view to panel

parent d4c3c356
...@@ -6,6 +6,9 @@ use yii\helpers\Html; ...@@ -6,6 +6,9 @@ use yii\helpers\Html;
* @var yii\debug\panels\ConfigPanel $panel * @var yii\debug\panels\ConfigPanel $panel
*/ */
?> ?>
<div class="yii-debug-toolbar-block title">
<?= Html::a('Yii Debugger', ['index'], ['title' => 'Back to main debug page']) ?>
</div>
<div class="yii-debug-toolbar-block"> <div class="yii-debug-toolbar-block">
<a href="<?= $panel->getUrl() ?>"> <a href="<?= $panel->getUrl() ?>">
<img width="29" height="30" alt="" src="<?= $panel->getYiiLogo() ?>"> <img width="29" height="30" alt="" src="<?= $panel->getYiiLogo() ?>">
......
...@@ -22,9 +22,6 @@ $this->title = 'Yii Debugger'; ...@@ -22,9 +22,6 @@ $this->title = 'Yii Debugger';
<span class="glyphicon glyphicon-home"></span> <span class="glyphicon glyphicon-home"></span>
</a> </a>
</div> </div>
<div class="yii-debug-toolbar-block title">
<?= Html::a('Yii Debugger', ['index'], ['title' => 'Back to main debug page']) ?>
</div>
<?php foreach ($panels as $panel): ?> <?php foreach ($panels as $panel): ?>
<?= $panel->getSummary() ?> <?= $panel->getSummary() ?>
<?php endforeach; ?> <?php endforeach; ?>
......
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