-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (49 loc) · 1.24 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
48
49
50
51
52
53
<!DOCTYPE html>
<html>
<head>
<title>Bitcoin Data</title>
<style>
table {
border-collapse: collapse;
width: 100%;
}
th, td {
padding: 8px;
text-align: left;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f2f2f2;
}
p{
text-align: center;
size: 80px;
font-family: "bold";
}
</style>
</head>
<body>
<h1>Bitcoin Data</h1>
<table>
<thead>
<tr>
<th>Date</th>
<th>Close</th>
<th>Edit Count</th>
<th>Tomorrow's Close</th>
</tr>
</thead>
<tbody>
{% for _, row in dataframe.iterrows() %}
<tr>
<td>{{ row.name.strftime("%Y-%m-%d") }}</td>
<td>{{ row['close'] }}</td>
<td>{{ row['edit_count'] }}</td>
<td>{{ row['tomorrow'] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
<p style="size-adjust: 100px;">{{ price_statement }}</p>
</body>
</html>