added hebrew, statistics

This commit is contained in:
2024-06-09 15:44:01 +03:00
parent 8a3782e1db
commit 409b076cd0
7 changed files with 198 additions and 57 deletions

49
html/statsitics.html Normal file
View File

@@ -0,0 +1,49 @@
{{define "body"}}
<div class="container">
<div class="column">
<h1>Download Statistics</h1>
<table>
<tr>
<th>Program</th>
<th>Version</th>
<th>Download Count</th>
</tr>
{{range .VersionStats}}
<tr>
<td>
{{.ID}}
</td>
<td>
{{.Version}}
</td>
<td>
{{.Counter}}
</td>
</tr>
{{end}}
</table>
</div>
<div class="column" id="totalus">
<h1>Total Download Statistics</h1>
<table>
<tr>
<th>Package</th>
<th>Search Count</th>
</tr>
{{range .TotalStats}}
<tr>
<td>
{{.ID}}
</td>
<td>
{{.Counter}}
</td>
</tr>
{{end}}
</table>
</div>
</div>
{{end}}