Upload table.html
Browse files- templates/table.html +18 -0
templates/table.html
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<title>{{ title }}</title>
|
| 6 |
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css">
|
| 7 |
+
<style>
|
| 8 |
+
body { padding: 2rem; background: #f8f9fa; }
|
| 9 |
+
h1 { margin-bottom: 2rem; }
|
| 10 |
+
table { background: white; }
|
| 11 |
+
</style>
|
| 12 |
+
</head>
|
| 13 |
+
<body>
|
| 14 |
+
<h1>{{ title }}</h1>
|
| 15 |
+
<a class="btn btn-primary mb-3" href="/download">Download CSV</a>
|
| 16 |
+
{{ tables[0]|safe }}
|
| 17 |
+
</body>
|
| 18 |
+
</html>
|