pool-stats/templates/top_shares.html
2025-06-23 18:42:00 +03:00

28 lines
634 B
HTML

{{ define "title" }}Top Shares{{ end }} {{ define "header" }}☀️ Pool Top
Shares{{ end }} {{ define "content" }}
<table>
<thead>
<tr>
<th>Time</th>
<th>Worker</th>
<th>SDiff</th>
<th>Hash</th>
</tr>
</thead>
<tbody>
{{ range .Shares }}
<tr>
<td>{{ formatCreateDate .CreateDate }}</td>
<td>{{ .WorkerName }}</td>
<td>{{ humanDiff .SDiff }}</td>
<td><code style="font-size: small">{{ .Hash }}</code></td>
</tr>
{{ else }}
<tr>
<td colspan="4">No shares found.</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }} {{ template "layout" . }}