Merge branch 'maint/7.0'
[ninja.git] / system / views / kohana_profiler.php
blobda77a6696d283e1dd1daee248dcd111c0a70c676
1 <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
2 <style type="text/css">
3 #kohana-profiler
5 font-family: Monaco, 'Courier New';
6 background-color: #F8FFF8;
7 margin-top: 20px;
8 clear: both;
9 padding: 10px 10px 0;
10 border: 1px solid #E5EFF8;
11 text-align: left;
13 #kohana-profiler pre
15 margin: 0;
16 font: inherit;
18 #kohana-profiler .kp-meta
20 margin: 0 0 10px;
21 padding: 4px;
22 background: #FFF;
23 border: 1px solid #E5EFF8;
24 color: #A6B0B8;
25 text-align: center;
27 <?php echo $styles ?>
28 </style>
29 <div id="kohana-profiler">
30 <?php
31 foreach ($profiles as $profile)
33 echo $profile->render();
36 <p class="kp-meta">Profiler executed in <?php echo number_format($execution_time, 3) ?>s</p>
37 </div>