summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2016-01-25 21:17:07 +0200
committerMartin Peres <martin.peres@linux.intel.com>2016-01-27 19:35:18 +0200
commit27bd5449d722108889a731dd642044c28325d976 (patch)
tree7ada6a016f6fe912cde657d95979a37c1fccfeef
parent2d76f57c2b21a4984a99ae553cfa5d1bb7af68a3 (diff)
compare_reports.py: show that the environment nodes are clickable
-rwxr-xr-xstats/compare_reports.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/stats/compare_reports.py b/stats/compare_reports.py
index c5adef7..77f160a 100755
--- a/stats/compare_reports.py
+++ b/stats/compare_reports.py
@@ -266,6 +266,11 @@ html_template="""
background: #dae5f4;
}
+ .env_node:hover {
+ cursor: pointer;
+ text-decoration: underline;
+ }
+
.close_button {
color: black;
background-color: grey;
@@ -630,7 +635,7 @@ ${btag}${r}: ${db["commits"][commit]['reports'][r][benchmark].average} ${output_
<div class="css-treeview">
<%def name="outputtreenode(node, id, label, attr = '')">
- <li><input type="checkbox" id="${id}" ${attr}/><label for="${id}">+${label}</label><ul>
+ <li><input type="checkbox" id="${id}" ${attr}/><label class="env_node" for="${id}">+${label}</label><ul>
<table>
% for child in sorted(node):
% if type(node[child]) is str: