Use compact table format

This commit is contained in:
Jeffrey Serio 2023-04-01 07:55:07 -05:00
parent 84fa325aac
commit 3508070425

View File

@ -42,30 +42,24 @@
</table>
<h2>Torrent Info</h2>
{{range .TorrentInfo}}
<table style="width:100%">
<tr>
<td>Name</td>
<td class="name">{{.Name}}</td>
<th>Name</th>
<th>Date Added</th>
<th>Total Size</th>
<th>Peers Connected</th>
<th>Peers Getting From Us</th>
</tr>
{{range .TorrentInfo}}
<tr>
<td>Date Added</td>
<td>{{.Name}}</td>
<td>{{.DateAdded}}</td>
</tr>
<tr>
<td>Total Size</td>
<td>{{.TotalSize}}</td>
</tr>
<tr>
<td>Peers Connected</td>
<td>{{.PeersConnected}}</td>
</tr>
<tr>
<td>Peers Getting From Us</td>
<td>{{.PeersGettingFromUs}}</td>
</tr>
</table>
{{end}}
</table>
</div>
</body>
</html>