%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/egp/vendor/yiisoft/yii2-debug/src/views/default/panels/assets/ |
Upload File : |
<?php use yii\helpers\Html; use yii\helpers\Inflector; /* @var $panel yii\debug\panels\AssetPanel */ ?> <h1>Asset Bundles</h1> <?php if (empty($panel->data)) { echo '<p>No asset bundle was used.</p>'; return; } ?> <div class="table-responsive"> <table class="table table-striped table-bordered"> <caption> <p>Total <b><?= count($panel->data) ?></b> asset bundles were loaded.</p> </caption> <?php foreach ($panel->data as $name => $bundle) { ?> <thead> <tr> <td colspan="2"><h3 id="<?= Inflector::camel2id($name) ?>"><?= $name ?></h3></td> </tr> </thead> <tbody> <tr> <th>sourcePath</th> <td><?= Html::encode($bundle['sourcePath'] !== null ? $bundle['sourcePath'] : $bundle['basePath']) ?></td> </tr> <?php if ($bundle['basePath'] !== null): ?> <tr> <th>basePath</th> <td><?= Html::encode($bundle['basePath']) ?></td> </tr> <?php endif; ?> <?php if ($bundle['baseUrl'] !== null): ?> <tr> <th>baseUrl</th> <td><?= Html::encode($bundle['baseUrl']) ?></td> </tr> <?php endif; ?> <?php if (!empty($bundle['css'])): ?> <tr> <th>css</th> <td class="ws-normal"> <?= Html::ul($bundle['css'], [ 'class' => 'assets', 'item' => function ($item) { if (is_array($item)) { $item = reset($item); } return Html::tag('li', Html::encode($item)); } ]) ?> </td> </tr> <?php endif; ?> <?php if (!empty($bundle['js'])): ?> <tr> <th>js</th> <td class="ws-normal"> <?= Html::ul($bundle['js'], [ 'class' => 'assets', 'item' => function ($item) { if (is_array($item)) { $item = reset($item); } return Html::tag('li', Html::encode($item)); } ]) ?> </td> </tr> <?php endif; ?> <?php if (!empty($bundle['depends'])): ?> <tr> <th>depends</th> <td class="ws-normal"> <ul class="assets"> <?php foreach ($bundle['depends'] as $depend): ?> <li><?= Html::a($depend, '#' . Inflector::camel2id($depend)) ?></li> <?php endforeach; ?> </ul> </td> </tr> <?php endif; ?> </tbody> <?php } ?> </table> </div>