Commit b4540932 by Evgeniy Tkachenko

Hide debug toolbar when media = print

parent a4809bca
...@@ -26,7 +26,7 @@ EOD; ...@@ -26,7 +26,7 @@ EOD;
$firstPanel = reset($panels); $firstPanel = reset($panels);
$url = $firstPanel->getUrl(); $url = $firstPanel->getUrl();
?> ?>
<div id="yii-debug-toolbar" class="yii-debug-toolbar-<?= $position ?>"> <div id="yii-debug-toolbar" class="yii-debug-toolbar-<?= $position ?> hidden-print">
<div class="yii-debug-toolbar-block title"> <div class="yii-debug-toolbar-block title">
<a href="<?= Url::to(['index']) ?>"> <a href="<?= Url::to(['index']) ?>">
<img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>"> <img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
...@@ -39,7 +39,7 @@ $url = $firstPanel->getUrl(); ...@@ -39,7 +39,7 @@ $url = $firstPanel->getUrl();
<?php endforeach; ?> <?php endforeach; ?>
<span class="yii-debug-toolbar-toggler" onclick="<?= $minJs ?>"></span> <span class="yii-debug-toolbar-toggler" onclick="<?= $minJs ?>"></span>
</div> </div>
<div id="yii-debug-toolbar-min"> <div id="yii-debug-toolbar-min" class="hidden-print">
<a href="<?= $url ?>" title="Open Yii Debugger" id="yii-debug-toolbar-logo"> <a href="<?= $url ?>" title="Open Yii Debugger" id="yii-debug-toolbar-logo">
<img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>"> <img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
</a> </a>
......
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