Improve timeline
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
<div class="domCreation"><div class="color"></div>DOM creation</div>
|
||||
<div class="domContentLoaded"><div class="color"></div>DOM content loaded event</div>
|
||||
<div class="domContentLoadedEnd"><div class="color"></div>Page completion</div>
|
||||
<div class="domComplete"><div class="color"></div>Page completed</div>
|
||||
<div class="domComplete"><div class="color"></div>Page is complete</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -216,6 +216,10 @@ app.controller('ResultsCtrl', function ($scope) {
|
||||
$scope.slowRequestsOn = false;
|
||||
$scope.slowRequestsLimit = 5;
|
||||
|
||||
if (!$scope.javascript.children) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Now read the tree and display it on a timeline
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ h4 {
|
||||
background: #E0FFD1;
|
||||
}
|
||||
.timeline .domContentLoaded .color {
|
||||
background: #99FF66;
|
||||
background: #A7E846;
|
||||
}
|
||||
.timeline .domContentLoadedEnd.interval {
|
||||
background: #D8F0F0;
|
||||
@@ -172,7 +172,7 @@ h4 {
|
||||
top: 0.4em;
|
||||
height: 1.5em;
|
||||
width: 1.5em;
|
||||
border-radius: 0.5em;
|
||||
border-radius: 0.2em;
|
||||
margin: 0 0.2em 0 1em;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user