ecoco/magento_profiler

View on GitHub
app/design/frontend/base/default/template/ecocode_profiler/layout.phtml

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta name="robots" content="noindex,nofollow"/>
    <meta name="viewport" content="width=device-width,initial-scale=1"/>
    <title>Magento Profiler</title>
    <link rel="icon" type="image/x-icon" sizes="16x16"
          href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4AkNDCcsxO0sbAAAAYBJREFUOMvdk80rZXEYxz/PPV6u
bDBervHSdWaklLJQVrKxslQ2QoqNjS5ZTDTNyPYmFrIh6pDF/QvUNOU/UEgmLoW8zGAl3Ov8ntmc
ezt0yGznu/ye7/OpU5+f8Equeux6YzEDhEFGI87hTtBOXha3A9GilAl9USUG5Ht1GnTZPOVOflz/
9ScQoN1YVwWfhlR1GigDnkAXvNkwkAP8FpGv5feHi5LAzQLO+6LtoqFZhGaP9xNDLLKW3AY4661r
sERmgE4PuCe4oxXO8YYAXPTZ10AJcKDoRKVzlAj638t+u0OVOaARuIk4yQ85/kE6L9Vas3R6czsQ
LXp0Q98qHpLjAJdhO55vmanileSPk8HqttxU3nXmJuQHhLUwDfBorF0g5vsU87rsJhCQjWrJu7pX
Af+Q/wWgmC6UrfefyZ5gevD0pNI53tRuWviMPhMnbMdfnpbW7t+xS1NG5axIksDF80+ReUFHfC6k
FZkHkO+YN19jJj7/cVXHqlaP9oN2fwF3BYdp8BgRAQAAAABJRU5ErkJggg==">
    <?php echo $this->getChildHtml('profiler_head'); ?>
    <link rel="stylesheet" media="all" href="<?php echo $this->getSkinUrl('css/ecocode_profiler/vendor/font-awesome.min.css')?>">
    <link rel="stylesheet" media="all" href="<?php echo $this->getSkinUrl('css/ecocode_profiler/profiler.css')?>">
    <style type="text/css">
        <?php echo $this->getChildHtml('profiler_css'); ?>
    </style>
    <script src="<?php echo $this->getJsUrl('ecocode_profiler/vendor/jquery.min.js')?>"></script>
    <script src="<?php echo $this->getJsUrl('ecocode_profiler/vendor/stupidtable.min.js')?>"></script>
    <script src="<?php echo $this->getJsUrl('ecocode_profiler/profiler.js')?>"></script>
    <script>
        <?php echo $this->getChildHtml('profiler_js'); ?>
    </script>
</head>
<body>
<div id="header">
    <div class="container">
        <h1>
            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svgMageLogo"
                 width="24" xml:space="preserve" height="24" viewBox="0 0 53.692 62" baseProfile="" version="1.1"
                 y="0px" x="0px">
                <g fill="#E85D22">
                    <path d="m26.845 8.857"/>
                    <polygon points="53.692 15.5 53.692 46.5 46.021 50.929 46.021 19.929 26.845 8.857 7.67 19.928 7.67 50.929 0 46.5 0 15.5 26.845 0"/>
                    <polygon points="26.847 62 15.341 55.356 15.341 24.357 23.011 19.928 23.011 50.929 26.845 53.257 30.682 50.929 30.682 19.929 38.353 24.357 38.353 55.356"/>
                </g>
            </svg>
            Magento <span>Profiler</span>
        </h1>
    </div>
    <div class="logo-ecocode" style="float: right">
        <a href="http://www.ecocode.de">
            <svg version="1.1"
                 xmlns="http://www.w3.org/2000/svg"
                 viewBox="0 0 606.25408 139.86"
                xml:space="preserve" height="28">
                <g transform="translate(-86.277155,-273.24507)">
                    <g fill="#6c3">
                        <path d="m 110.93715,360.72507 1.98,6.66 47.16,0 c 0.36,-2.7 0.54,-5.4 0.54,-7.92 0,-19.98 -12.24,-34.56 -34.74,-34.56 -23.94,0 -39.599995,19.44 -39.599995,45.72 0,23.76 15.659995,41.4 39.059995,41.4 11.16,0 25.2,-2.16 32.04,-10.08 l -5.4,-3.96 c -7.38,4.14 -12.42,5.22 -18.72,5.22 -20.88,0 -30.06,-14.58 -30.06,-35.82 0,-14.4 3.24,-36.9 21.24,-36.9 14.76,0 20.16,12.42 20.16,30.24 l -33.66,0 z"/>
                        <path d="m 408.97778,398.52507 c -6.3,3.6 -11.52,5.58 -18.54,5.58 -23.4,0 -29.16,-22.14 -29.16,-40.32 0,-19.8 13.32,-29.52 29.16,-29.52 5.58,0 12.24,2.88 16.56,6.3 l 5.76,-5.76 c -4.86,-5.22 -12.78,-9.9 -23.76,-9.9 -28.26,0 -44.1,21.78 -44.1,46.98 0,24.3 13.68,41.22 38.7,41.22 17.82,0 24.66,-5.22 30.42,-10.98 l -5.04,-3.6 z"/>
                    </g>
                    <g fill="#666">
                        <path d="m 234.95434,398.52507 c -6.3,3.6 -11.52,5.58 -18.54,5.58 -23.4,0 -29.16,-22.14 -29.16,-40.32 0,-19.8 13.32,-29.52 29.16,-29.52 5.58,0 12.24,2.88 16.56,6.3 l 5.76,-5.76 c -4.86,-5.22 -12.78,-9.9 -23.76,-9.9 -28.26,0 -44.1,21.78 -44.1,46.98 0,24.3 13.68,41.22 38.7,41.22 17.82,0 24.66,-5.22 30.42,-10.98 l -5.04,-3.6 z"/>
                        <path d="m 332.64653,366.48507 c 0,-26.82 -14.58,-41.22 -39.96,-41.22 l -4.68,0 c 23.58,9.18 27.72,23.94 27.72,47.88 0,21.42 -11.88,33.3 -25.02,33.3 -15.84,0 -25.2,-18.36 -25.2,-43.38 0,-21.06 8.64,-32.4 23.94,-32.4 l 0.36,0 c -3.06,-1.44 -5.94,-2.16 -9,-2.16 -4.86,0 -10.08,1.8 -15.48,5.22 -10.26,7.92 -16.02,19.8 -16.02,34.92 0,26.1 13.5,44.46 38.7,44.46 26.46,0 44.64,-18.72 44.64,-46.62 z"/>
                        <path d="m 509.48247,366.48507 c 0,-26.82 -14.58,-41.22 -39.96,-41.22 l -4.68,0 c 23.58,9.18 27.72,23.94 27.72,47.88 0,21.42 -11.88,33.3 -25.02,33.3 -15.84,0 -25.2,-18.36 -25.2,-43.38 0,-21.06 8.64,-32.4 23.94,-32.4 l 0.36,0 c -3.06,-1.44 -5.94,-2.16 -9,-2.16 -4.86,0 -10.08,1.8 -15.48,5.22 -10.26,7.92 -16.02,19.8 -16.02,34.92 0,26.1 13.5,44.46 38.7,44.46 26.46,0 44.64,-18.72 44.64,-46.62 z"/>
                        <path d="m 537.21372,366.48507 c 0,-15.3 5.76,-32.76 23.76,-32.76 9.36,0 12.24,3.24 15.48,6.66 l 4.86,-5.4 c -6.3,-7.02 -11.7,-10.26 -20.34,-10.26 -26.82,0 -39.6,23.94 -39.6,46.98 0,22.68 12.6,41.22 36.36,41.22 16.2,0 21.6,-10.26 26.82,-16.92 0,8.1 -0.18,10.8 -0.18,13.5 l 27.72,0 0,-4.86 c -3.24,0 -9.18,-1.08 -10.26,-2.7 -1.44,-2.16 -1.62,-5.22 -1.62,-11.7 l 0,-76.32 c 0,-10.98 0,-28.8 1.44,-40.68 l -18.18,9.18 c 0.72,0.9 1.08,3.06 1.08,6.48 l 0,81.9 c 0,9.36 -1.8,17.82 -6.12,23.04 -3.78,4.86 -9,8.82 -16.74,8.82 -21.78,0 -24.48,-16.92 -24.48,-36.18 z"/>
                        <path d="m 642.85122,360.72507 1.98,6.66 47.16,0 c 0.36,-2.7 0.54,-5.4 0.54,-7.92 0,-19.98 -12.24,-34.56 -34.74,-34.56 -23.94,0 -39.6,19.44 -39.6,45.72 0,23.76 15.66,41.4 39.06,41.4 11.16,0 25.2,-2.16 32.04,-10.08 l -5.4,-3.96 c -7.38,4.14 -12.42,5.22 -18.72,5.22 -20.88,0 -30.06,-14.58 -30.06,-35.82 0,-14.4 3.24,-36.9 21.24,-36.9 14.76,0 20.16,12.42 20.16,30.24 l -33.66,0 z"/>
                    </g>
                </g>
            </svg><br>

            <small>Made with Herzblut in Berlin</small>
        </a>
    </div>
</div>


<div id="summary">
    <?php echo $this->getChildHtml('summery'); ?>
</div>

<div id="content" class="container">
    <div id="main">
        <div id="collector-wrapper">
            <div id="collector-content">
                <?php echo $this->getChildHtml('content'); ?>
            </div>
        </div>
        <?php echo $this->getChildHtml('left'); ?>
    </div>
</div>

<iframe name="profiler_link_target" style="display: none;"></iframe>
</body>
</html>