aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/resources/template_provide.html
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-web/src/main/resources/template_provide.html')
-rw-r--r--pdf-as-web/src/main/resources/template_provide.html21
1 files changed, 20 insertions, 1 deletions
diff --git a/pdf-as-web/src/main/resources/template_provide.html b/pdf-as-web/src/main/resources/template_provide.html
index 8016be07..1ff00d15 100644
--- a/pdf-as-web/src/main/resources/template_provide.html
+++ b/pdf-as-web/src/main/resources/template_provide.html
@@ -1 +1,20 @@
-##PDFDATAURL## \ No newline at end of file
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="de">
+<head>
+<title>Provide PDF</title>
+</head>
+<body>
+PDF ready @: <a href="##PDFDATAURL##">download here</a>
+
+<script type="text/javascript">
+ var data = {
+ pdfas: {
+ success: true,
+ pdfUrl: "Child URL"
+ }
+ }
+
+ parent.postMessage(data, '##PUBLICURL##');
+</script>
+</body>
+</html>