From d86b93e646553f1591ce515a02b6944c9fb4ab7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Wed, 3 Sep 2014 19:26:09 +0200 Subject: [PATCH] Add a special line color for Window Performances --- app/node_views/results.html | 6 +++++- app/public/styles/results.css | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/node_views/results.html b/app/node_views/results.html index 4012991..16bdf84 100644 --- a/app/node_views/results.html +++ b/app/node_views/results.html @@ -145,7 +145,11 @@ || node.data.callDetails.arguments[1].indexOf(textFilter) >= 0 || node.data.callDetails.arguments[2].indexOf(textFilter) >= 0 || node.data.callDetails.arguments[3].indexOf(textFilter) >= 0)" - ng-class="{showingDetails: node.data.showDetails, jsError: node.data.type == 'error' || node.data.type == 'jQuery version change'}"> + ng-class="{ + showingDetails: node.data.showDetails, + jsError: node.data.type == 'error' || node.data.type == 'jQuery version change', + windowPerformance: node.data.type == 'domInteractive' || node.data.type == 'domContentLoaded' || node.data.type == 'domContentLoadedEnd' || node.data.type == 'domComplete' + }">
{{$index}}
{{node.data.type}}
diff --git a/app/public/styles/results.css b/app/public/styles/results.css index bb1e0f4..52bb0b2 100644 --- a/app/public/styles/results.css +++ b/app/public/styles/results.css @@ -179,6 +179,9 @@ input.textFilter { color: #e74c3c; font-weight: bold; } +.table > div.windowPerformance > div { + background: #EBD8E2; +} .table > div.showingDetails > div { background: #f1c40f; }