您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

59 行
1.9KB

  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="30" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
  15. </a>
  16. </div>
  17. <div class="yii-debug-toolbar__block yii-debug-toolbar__ajax" style="display: none">
  18. AJAX <span class="yii-debug-toolbar__label yii-debug-toolbar__ajax_counter">0</span>
  19. <div class="yii-debug-toolbar__ajax_info">
  20. <table>
  21. <thead>
  22. <tr>
  23. <th>Method</th>
  24. <th>Status</th>
  25. <th>URL</th>
  26. <th>Time</th>
  27. <th>Profile</th>
  28. </tr>
  29. </thead>
  30. <tbody class="yii-debug-toolbar__ajax_requests"></tbody>
  31. </table>
  32. </div>
  33. </div>
  34. <?php foreach ($panels as $panel): ?>
  35. <?= $panel->getSummary() ?>
  36. <?php endforeach; ?>
  37. <div class="yii-debug-toolbar__block_last">
  38. </div>
  39. <a class="yii-debug-toolbar__external" href="#" target="_blank">
  40. <span class="yii-debug-toolbar__external-icon"></span>
  41. </a>
  42. <span class="yii-debug-toolbar__toggle">
  43. <span class="yii-debug-toolbar__toggle-icon"></span>
  44. </span>
  45. </div>
  46. <div class="yii-debug-toolbar__view">
  47. <iframe src="about:blank" frameborder="0"></iframe>
  48. </div>
  49. </div>