<!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;
      }
    </style>
  </head>
  <body>
    <h1>🌟 ckpool 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>
  </body>
</html>
