Marthee commited on
Commit
5f5b6de
·
verified ·
1 Parent(s): 49a366d

Update templates/gui.html

Browse files
Files changed (1) hide show
  1. templates/gui.html +7 -11
templates/gui.html CHANGED
@@ -3,18 +3,14 @@
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;
12
- }
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>
 
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
  </head>
8
  <body>
9
+
10
+ <h2>PDF Viewer</h2>
11
+
12
+ <!-- Open PDF in a new tab -->
13
+ <button onclick="window.open('/view-pdf', '_blank')">View PDF</button>
14
+
15
  </body>
16
  </html>