-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (45 loc) · 1.64 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basic Dashboard for Paddle Community</title>
<link rel="icon" href="dashboard.png">
<!-- 引入 CSS 文件 -->
<link rel="stylesheet" id="stylesheet" href="style.css">
<script>
document.getElementById('stylesheet').href = 'style.css?v=' + new Date().getTime();
</script>
<!-- 引入 ECharts -->
<script src="https://cdn.jsdelivr.net/npm/echarts/dist/echarts.min.js"></script>
<!-- 引入 PapaParse (用于解析 CSV) -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/PapaParse/5.3.0/papaparse.min.js"></script>
</head>
<body>
<div class="header">
<h1>Dashboard for Paddle Community</h1>
</div>
<div class="container">
<div class="left-column">
<div id="chart2" class="small-chart"></div>
<div id="chart3" class="small-chart"></div>
<div id="chart4" class="small-chart"></div>
</div>
<div class="center-column">
<div id="chart1" class="large-chart"></div>
</div>
<div class="right-column">
<div id="chart5" class="small-chart"></div>
<div id="chart6" class="small-chart"></div>
<div id="chart7" class="small-chart"></div>
</div>
</div>
<!-- 引入 JS 文件 -->
<script>
// 动态添加时间戳到 scripts.js 文件
var script = document.createElement('script');
script.src = 'scripts.js?v=' + new Date().getTime();
document.head.appendChild(script);
</script>
</body>
</html>