Marthee commited on
Commit
a2902ac
·
verified ·
1 Parent(s): 19c04f7

Update templates/gui.html

Browse files
Files changed (1) hide show
  1. templates/gui.html +5 -4
templates/gui.html CHANGED
@@ -3,9 +3,9 @@
3
  <head>
4
  <meta charset="UTF-8">
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>View PDF</title>
7
  <style>
8
- iframe {
9
  width: 100%;
10
  height: 100vh;
11
  border: none;
@@ -13,7 +13,8 @@
13
  </style>
14
  </head>
15
  <body>
16
- <h2>PDF Viewer</h2>
17
- <iframe src="/download-pdf#page=2"></iframe> <!-- Opens the PDF at page 2 -->
 
18
  </body>
19
  </html>
 
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
  <style>
8
+ embed {
9
  width: 100%;
10
  height: 100vh;
11
  border: none;
 
13
  </style>
14
  </head>
15
  <body>
16
+ <h1>PDF Viewer</h1>
17
+ <!-- Use <embed> instead of <iframe> -->
18
+ <embed src="/download-pdf#page=2" type="application/pdf">
19
  </body>
20
  </html>