histogram: Make histograms crash less
[ninja.git] / application / media / report_footer.html
blobaa3b00abddcdb9017034851b104996ef9b108cb7
1 <html><head><script>
2 function subst() {
3 var vars={};
4 var x=window.location.search.substring(1).split('&');
5 for (var i in x) {var z=x[i].split('=',2);vars[z[0]] = unescape(z[1]);}
6 var x=['topage','page'];
7 for (var i in x) {
8 var y = document.getElementsByClassName(x[i]);
9 for (var j=0; j<y.length; ++j) y[j].textContent = vars[x[i]];
12 </script></head><body style="border:0; margin: 0" onload="subst()">
13 <div style="width: 100%; border-top: 1px black; font-size: 0.8em">
14 <div style="position:absolute;left:0%">This report was created by Ninja</div>
15 <div style="position:absolute;left:50%; right:50%"><nobr>Page <span class="page"></span> of <span class="topage"></nobr></div>
16 <div style="position:absolute;right:0%"><img src="http://localhost/ninja/application/views/icons/icon.png" /></div>
17 </div>
18 </body></html>