Skip to content
Snippets Groups Projects
Commit 652df8de authored by Olivier Couet's avatar Olivier Couet
Browse files

Replace <iframe> by <img> to display the libraries graph.

There was two problems with <iframe>:
  - In some cases an extra frame was drawn
  - Some browsers (chrome and Opera) , in some cases, did not display correctly the image (wrong size)
parent 263cb6a7
No related branches found
No related tags found
No related merge requests found
...@@ -30,5 +30,5 @@ dot -Tsvg libraries.dot -o $PICNAME ...@@ -30,5 +30,5 @@ dot -Tsvg libraries.dot -o $PICNAME
# Make sure the picture size in the html file the same as the svg # Make sure the picture size in the html file the same as the svg
PICSIZE=`grep "svg width" $PICNAME | sed -e "s/<svg //"` PICSIZE=`grep "svg width" $PICNAME | sed -e "s/<svg //"`
sed -i'.back' -e "s/\(^.*__coll__graph.svg\"\)\( width.*\">\)\(.*$\)/\1 $PICSIZE>\3/" $HTMLPATH/class$1.html sed -i'.back' -e "s/\(^.*src\)\(.*__coll__graph.svg\"\)\( width.*\">\)\(.*$\)/<div class=\"center\"><img src\2 $PICSIZE><\/div>/" $HTMLPATH/class$1.html
rm $HTMLPATH/class$1.html.back rm $HTMLPATH/class$1.html.back
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment