Skip to content

Commit f77c2e7

Browse files
author
Steven Surowiec
committed
Renamed classes on console side column
1 parent 3ab8d8a commit f77c2e7

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Display.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ public static function display($output) {
5757
} else {
5858
echo '<table class="side" cellspacing="0">';
5959
echo '<tr>';
60-
echo '<td class="alt1" id="console-log"><var>' . $output['logs']['logCount'] . '</var><h4>Logs</h4></td>';
61-
echo '<td class="alt2" id="console-error"><var>' . $output['logs']['errorCount'] . '</var> <h4>Errors</h4></td>';
60+
echo '<td class="console-log" id="console-log"><var>' . $output['logs']['logCount'] . '</var><h4>Logs</h4></td>';
61+
echo '<td class="console-errors" id="console-error"><var>' . $output['logs']['errorCount'] . '</var> <h4>Errors</h4></td>';
6262
echo '</tr>';
6363
echo '<tr>';
64-
echo '<td class="alt5" id="console-memory"><var>' . $output['logs']['memoryCount'] . '</var> <h4>Memory</h4></td>';
65-
echo '<td class="alt6" id="console-speed"><var>' . $output['logs']['speedCount'] . '</var> <h4>Speed</h4></td>';
64+
echo '<td class="console-memory" id="console-memory"><var>' . $output['logs']['memoryCount'] . '</var> <h4>Memory</h4></td>';
65+
echo '<td class="console-speed" id="console-speed"><var>' . $output['logs']['speedCount'] . '</var> <h4>Speed</h4></td>';
6666
echo '</tr>';
6767
echo '<tr>';
68-
echo '<td class="alt3" id="console-benchmark"><var>' . $output['logs']['benchmarkCount'] . '</var><h4>Benchmarks</h4></td>';
68+
echo '<td class="console-benchmarks" id="console-benchmark"><var>' . $output['logs']['benchmarkCount'] . '</var><h4>Benchmarks</h4></td>';
6969
echo '</tr>';
7070
echo '</table>';
7171
echo '<table class="main" cellspacing="0">';

resources/profiler.css

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,11 @@
7575

7676
/* ----- Console ----- */
7777
#profiler-console .side td { padding: 12px 0; }
78-
#profiler-console .side td.alt1 { background: #588E13; width: 51%; } /** Logs **/
79-
#profiler-console .side td.alt2 { background-color: #B72F09; } /** Errors **/
80-
#profiler-console .side td.alt3 { background: #A4A3A2; width: 51%; } /** Benchmarks **/
81-
#profiler-console .side td.alt4 { background-color: #3769A0; }
82-
#profiler-console .side td.alt5 { background: #D28C00; border-left: 1px solid #9C6800; } /** Memory **/
83-
#profiler-console .side td.alt6 { background-color: #3769A0; border-bottom: 1px solid #274B74; } /** Speed **/
78+
#profiler-console .side td.console-log { background: #588E13; width: 51%; } /** Logs **/
79+
#profiler-console .side td.console-errors { background-color: #B72F09; } /** Errors **/
80+
#profiler-console .side td.console-memory { background: #D28C00; border-left: 1px solid #9C6800; } /** Memory **/
81+
#profiler-console .side td.console-speed { background-color: #3769A0; border-bottom: 1px solid #274B74; } /** Speed **/
82+
#profiler-console .side td.console-benchmarks { background: #A4A3A2; width: 51%; } /** Benchmarks **/
8483
#profiler-console .side td.selected { background: #333; }
8584
#profiler-console .main table { width: 100%; }
8685
#profiler-console td div { width: 100%; overflow: hidden; }

0 commit comments

Comments
 (0)