From e968d91943bbcaf25cd3a1df84fc4d09bc889c94 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 4 Aug 2014 12:36:08 +0300 Subject: HTML: add Yearly Statistics view to the HTML export View JSON data of yearly statistics in HTML exports. Signed-off-by: Gehad elrobey Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/dive_export.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'theme/dive_export.html') diff --git a/theme/dive_export.html b/theme/dive_export.html index a326e3bf6..524f39a69 100644 --- a/theme/dive_export.html +++ b/theme/dive_export.html @@ -34,6 +34,10 @@ function load_scripts() fileref.setAttribute("src", location.pathname + "_files/file.json"); document.getElementsByTagName("head")[0].appendChild(fileref); + fileref=document.createElement('script'); + fileref.setAttribute("src", location.pathname + "_files/stat.json"); + document.getElementsByTagName("head")[0].appendChild(fileref); + fileref=document.createElement('script'); fileref.setAttribute("src", location.pathname + "_files/settings.json"); document.getElementsByTagName("head")[0].appendChild(fileref); @@ -116,6 +120,7 @@ window.onload=function(){ sizeofpage=10; showAllDives(); document.getElementById("divePanel").style.display='none'; + document.getElementById("diveStat").style.display='none'; document.body.style.visibility='visible'; document.onkeydown = switchDives; @@ -155,6 +160,7 @@ function changeAdvSearch(e){ + +
+
+ +
+
+
+
-- cgit v1.2.3-70-g09d2