mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
266e3a6cdd
commit
e5c5ee74f0
4 changed files with 282 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue