summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-06-10 19:31:19 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-06-19 21:41:56 +0300
commitcd30e11672b08a6fb882a9ff6950f4297c347b3d (patch)
tree4e204097e6338175c1f1101ed1a6fe27e1f0c1e4 /printing_templates
parent1040f0d4e57ca8ec13f9eb8e0b2214c89b90aaaf (diff)
downloadsubsurface-cd30e11672b08a6fb882a9ff6950f4297c347b3d.tar.gz
Printing: render the dive profile on top of QWebView
We render the dive profile over the QWebView to the QPainter. This helps us not to save the SVG images to disk and then render them again to the webview. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'printing_templates')
-rw-r--r--printing_templates/base.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/printing_templates/base.html b/printing_templates/base.html
index c32bc12db..574579f90 100644
--- a/printing_templates/base.html
+++ b/printing_templates/base.html
@@ -180,8 +180,7 @@
</td>
</tr>
</tbody></table>
- <div class="diveProfile">
- <h1> Dive profile area </h1>
+ <div class="diveProfile" id="dive_{{ dive.number }}">
</div>
</div>
<div class="notesPart">