aboutsummaryrefslogtreecommitdiffstats
path: root/theme/dive_export.html
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-07-07 14:01:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-11 06:59:00 -0700
commite5c5ee74f0f9a6312765f4b55c57a244876f3508 (patch)
treee23a9411c231aa4fcbac1c818bb9ffe24f1f324c /theme/dive_export.html
parent266e3a6cdd5b5bc510fa7b4daa3f59be13f0006e (diff)
downloadsubsurface-e5c5ee74f0f9a6312765f4b55c57a244876f3508.tar.gz
HTML: fix profile labels
Fix labels view in dive profile. Add Jqplot css file to the exports. The css files fix the view and enahnce the plot. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'theme/dive_export.html')
-rw-r--r--theme/dive_export.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/theme/dive_export.html b/theme/dive_export.html
index e1d89f48c..ec08e86b0 100644
--- a/theme/dive_export.html
+++ b/theme/dive_export.html
@@ -24,6 +24,12 @@ function load_scripts()
fileref.setAttribute("href", location.pathname + "_files/theme.css");
document.getElementsByTagName("head")[0].appendChild(fileref);
+ fileref=document.createElement("link");
+ fileref.setAttribute("rel", "stylesheet");
+ fileref.setAttribute("type", "text/css");
+ fileref.setAttribute("href", location.pathname + "_files/jquery.jqplot.css");
+ document.getElementsByTagName("head")[0].appendChild(fileref);
+
fileref=document.createElement('script');
fileref.setAttribute("src", location.pathname + "_files/file.json");
document.getElementsByTagName("head")[0].appendChild(fileref);