63 lines
1.1 KiB
HTML
63 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<title>Share Stats</title>
|
|
<style>
|
|
body {
|
|
font-family: sans-serif;
|
|
background: #111;
|
|
color: #eee;
|
|
text-align: center;
|
|
padding: 2em;
|
|
}
|
|
table {
|
|
margin: auto;
|
|
border-collapse: collapse;
|
|
}
|
|
th,
|
|
td {
|
|
padding: 0.5em 1em;
|
|
border: 1px solid #444;
|
|
}
|
|
th {
|
|
background-color: #222;
|
|
}
|
|
tr:nth-child(even) {
|
|
background-color: #1a1a1a;
|
|
}
|
|
a {
|
|
color: #0af;
|
|
text-decoration: none;
|
|
}
|
|
li {
|
|
display: inline;
|
|
margin: 0 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>🌟 Pool Share Stats</h1>
|
|
|
|
<table>
|
|
<tr>
|
|
<th>Range</th>
|
|
<th>Highest Share Diff</th>
|
|
<th>Time</th>
|
|
</tr>
|
|
{{range .}}
|
|
<tr>
|
|
<td>{{.Label}}</td>
|
|
<td>{{.Diff}}</td>
|
|
<td>{{.Time}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
|
|
<ul>
|
|
<li><a href="/">Home</a></li>
|
|
<li><a href="/shares">View Shares</a></li>
|
|
</ul>
|
|
</body>
|
|
</html>
|