Marthee commited on
Commit
a73f5cd
·
verified ·
1 Parent(s): 66783ec

Update templates/gui.html

Browse files
Files changed (1) hide show
  1. templates/gui.html +14 -9
templates/gui.html CHANGED
@@ -3,16 +3,21 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>PDF Viewer</title>
 
 
 
 
 
 
 
7
  </head>
8
  <body>
9
- <h1>PDF Viewer</h1>
10
- <!-- Embed the PDF in an iframe -->
11
- <iframe
12
- src="/view-pdf#page=2"
13
- width="100%"
14
- height="800px"
15
- frameborder="0">
16
- </iframe>
17
  </body>
18
  </html>
 
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>View PDF in Iframe</title>
7
+ <style>
8
+ iframe {
9
+ width: 100%;
10
+ height: 600px;
11
+ border: none;
12
+ }
13
+ </style>
14
  </head>
15
  <body>
16
+
17
+ <h2>PDF Viewer</h2>
18
+
19
+ <!-- Reference Flask route to embed PDF in an iframe -->
20
+ <iframe src="{{ url_for('view_pdf') }}#page=2"></iframe>
21
+
 
 
22
  </body>
23
  </html>