Spaces:
Sleeping
Sleeping
Update templates/gui.html
Browse files- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
</head>
|
| 8 |
<body>
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 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>
|