-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (70 loc) · 1.91 KB
/
index.html
File metadata and controls
82 lines (70 loc) · 1.91 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSV/Excel/JSON to Table</title>
<link rel="stylesheet" href="css/jquery.dataTables.min.css" />
<link rel="stylesheet" href="css/buttons.dataTables.min.css" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
padding: 20px;
background-color: #f9f9f9;
color: #333;
}
#fileInput {
margin-bottom: 20px;
}
h1 {
font-weight: 600;
font-size: 24px;
margin-bottom: 20px;
}
#file-info {
margin-bottom: 10px;
font-style: italic;
color: #555;
}
footer {
margin-top: auto;
padding: 20px 0;
font-size: 14px;
text-align: center;
color: #666;
border-top: 1px solid #ddd;
}
footer a {
color: #0077cc;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<h1>Upload CSV, Excel or JSON File</h1>
<input type="file" id="fileInput" accept=".csv,.xls,.xlsx,.json" />
<div id="file-info"></div>
<div id="table-container"></div>
<div id="table-container"></div>
<footer>
© 2025 Max Base ·
<a href="https://github.com/BaseMax/smart-table-loader" target="_blank" rel="noopener noreferrer">
GitHub Repository
</a>
</footer>
<!-- Dependencies -->
<script src="js/papaparse.min.js"></script>
<script src="js/xlsx.full.min.js"></script>
<script src="js/jquery-3.7.1.min.js"></script>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.buttons.min.js"></script>
<script src="js/buttons.html5.min.js"></script>
<script src="js/buttons.colVis.min.js"></script>
<script src="js/buttons.print.min.js"></script>
<!-- Main Script -->
<script src="js/lib.js"></script>
</body>
</html>