You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1KB

  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $panels \yii\debug\Panel[] */
  4. /* @var $tag string */
  5. /* @var $position string */
  6. use yii\helpers\Url;
  7. $firstPanel = reset($panels);
  8. $url = $firstPanel->getUrl();
  9. ?>
  10. <div id="yii-debug-toolbar" class="yii-debug-toolbar yii-debug-toolbar_position_<?= $position ?>">
  11. <div class="yii-debug-toolbar__bar">
  12. <div class="yii-debug-toolbar__block yii-debug-toolbar__title">
  13. <a href="<?= Url::to(['index']) ?>">
  14. <img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
  15. </a>
  16. </div>
  17. <?php foreach ($panels as $panel): ?>
  18. <?= $panel->getSummary() ?>
  19. <?php endforeach; ?>
  20. <a class="yii-debug-toolbar__external" href="#" target="_blank">
  21. <span class="yii-debug-toolbar__external-icon"></span>
  22. </a>
  23. <span class="yii-debug-toolbar__toggle">
  24. <span class="yii-debug-toolbar__toggle-icon"></span>
  25. </span>
  26. </div>
  27. <div class="yii-debug-toolbar__view">
  28. <iframe src="about:blank" frameborder="0"></iframe>
  29. </div>
  30. </div>