summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Nygård <joakim@scienta.dk>2011-09-15 00:13:06 +0200
committerJoakim Nygård <joakim@scienta.dk>2011-09-15 00:13:06 +0200
commit0ae82cf140ad96d520b06dae3f4b702cbb6b6e02 (patch)
treed6528ce38d743938837a8685d2aebe8dcf106f2e
parentb49dba0488cd1d838120cd288b756d5137826772 (diff)
downloadwebgrind-0ae82cf140ad96d520b06dae3f4b702cbb6b6e02.zip
webgrind-0ae82cf140ad96d520b06dae3f4b702cbb6b6e02.tar.gz
webgrind-0ae82cf140ad96d520b06dae3f4b702cbb6b6e02.tar.bz2
Changed call graph to button
-rw-r--r--styles/style.css1
-rw-r--r--templates/index.phtml4
2 files changed, 2 insertions, 3 deletions
diff --git a/styles/style.css b/styles/style.css
index 797392e..bd6446b 100644
--- a/styles/style.css
+++ b/styles/style.css
@@ -35,7 +35,6 @@ h2 {
}
#logo {
float:left;
- width:200px;
}
#logo h1 {
font:normal 30px "Futura", Helvetica, Verdana;
diff --git a/templates/index.phtml b/templates/index.phtml
index c9f893f..e8770c7 100644
--- a/templates/index.phtml
+++ b/templates/index.phtml
@@ -59,7 +59,7 @@
'<img src="img/gradient_class.png" height="20" width="'+Math.floor(data.breakdown['class']/breakdown_sum*300)+'">'+
'<img src="img/gradient_procedural.png" height="20" width="'+Math.floor(data.breakdown['procedural']/breakdown_sum*300)+'">'+
'<img src="img/gradient_right.png" height="20" width="10">'+
- '<div title="internal functions, include/require, class methods and procedural functions." style="background:url(img/gradient_markers.png);position:relative;top:-20px;left:10px;width:301px;height:19px"></div>'
+ '<div title="internal functions, include/require, class methods and procedural functions." style="position:relative;top:-20px;left:10px;width:301px;height:19px"></div>'
);
$("#hello_message").hide();
@@ -337,7 +337,7 @@
<div style="float:right;">
<div id="breakdown" style="margin-bottom:5px;width:320px;height:20px"></div>
<span id="invocation_sum"></span> different functions called in <span id="runtime_sum"></span> milliseconds (<span id="runs"></span> runs, <span id="shown_sum"></span> shown)
- <div><a href="javascript:showCallGraph()">Show Call Graph</a></div>
+ <div><input type="button" name="graph" value="Show Call Graph" onclick="showCallGraph()"></div>
</div>
<div style="clear:both"></div>
Filter: <input type="text" style="width:150px" id="callfilter"> (regex too)