root/trunk/system/views/kohana_profiler.php

Revision 3034, 0.6 kB (checked in by Geert, 3 months ago)

Adding CSS classes back in the Profiler views, undoing r3033. PugFish? pointed out that people can create their own table extensions in Profiler which the general "#kohana-profiler table" would mess up then.

  • Property svn:eol-style set to LF
  • Property copyright set to Copyright (c) 2007 Kohana Team
  • Property svn:keywords set to Id
Line 
1<style type="text/css">
2#kohana-profiler
3{
4    font-family: Monaco, 'Courier New';
5    background-color: #F8FFF8;
6    margin-top: 20px;
7    clear: both;
8    padding: 10px 10px 0;
9    border: 1px solid #E5EFF8;
10    text-align: left;
11}
12#kohana-profiler pre
13{
14    margin: 0;
15    font: inherit;
16}
17#kohana-profiler .kp-meta
18{
19    margin: 0 0 10px;
20    padding: 4px;
21    background: #FFF;
22    border: 1px solid #E5EFF8;
23    color: #A6B0B8;
24    text-align: center;
25}
26<?php echo $styles ?>
27</style>
28<div id="kohana-profiler">
29<?php
30foreach ($profiles as $profile)
31{
32    echo $profile->render();
33}
34?>
35<p class="kp-meta">Profiler executed in <?php echo number_format($execution_time, 3) ?>s</p>
36</div>
Note: See TracBrowser for help on using the browser.