Restructure

This commit is contained in:
Pijus Kamandulis
2025-06-23 19:38:02 +03:00
parent f66fbcc454
commit 4ddd9abd2e
7 changed files with 25 additions and 28 deletions

View File

@@ -5,7 +5,6 @@ Browser{{ end }} {{ define "content" }}
<tr>
<th>Time</th>
<th>Worker</th>
<th>Address</th>
<th>SDiff</th>
<th>Result</th>
<th>Hash</th>
@@ -16,14 +15,13 @@ Browser{{ end }} {{ define "content" }}
<tr>
<td>{{ formatCreateDate .CreateDate }}</td>
<td>{{ .WorkerName }}</td>
<td>{{ .Address }}</td>
<td>{{ humanDiff .SDiff }}</td>
<td>{{ if .Result }}✔️{{ else }}❌{{ end }}</td>
<td><code style="font-size: small">{{ .Hash }}</code></td>
</tr>
{{ else }}
<tr>
<td colspan="6">No shares found.</td>
<td colspan="5">No shares found.</td>
</tr>
{{ end }}
</tbody>