-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfile_info.html
More file actions
42 lines (42 loc) · 1.62 KB
/
file_info.html
File metadata and controls
42 lines (42 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<title>Power Query ETL - File Info</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<style>
/* CSS for left-aligning columns and adding background color to headers */
.table th {
text-align: left; /* Left-align column headers */
background-color: #007bff; /* Blue background color for headers */
color: #fff; /* Text color for headers */
}
</style>
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<a class="navbar-brand" href="#">Power Query ETL</a>
</nav>
<div class="container mt-4">
<!-- Add button to go back to Upload screen -->
<div class="mb-3">
<a class="btn btn-primary" href="/upload">Back to Upload</a>
</div>
<h2>File Information</h2>
<p><strong>File Name:</strong> {{ filename }}</p>
<p><strong>Number of Records:</strong> {{ num_records }}</p>
<!-- Add button to navigate to Filter Data screen -->
<div class="mb-3">
<a class="btn btn-success" href="/filter_data/{{ filename }}">Filter Data</a>
</div>
<h3>Column Names and Data Types</h3>
<!-- Wrap the table in a div with a height of 600px and vertical scrollbar -->
<div style="max-height: 600px; overflow-y: auto;">
<table class="table table-bordered table-striped">
<tbody>
{{ column_info|safe }}
</tbody>
</table>
</div>
</div>
</body>
</html>