From e5c5ee74f0f9a6312765f4b55c57a244876f3508 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 7 Jul 2014 14:01:36 +0200 Subject: 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 Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- theme/dive_export.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'theme/dive_export.html') 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); -- cgit v1.2.3-70-g09d2