mirror of
https://codeberg.org/hyperreal/go-transmission-stats
synced 2024-11-25 12:13:42 +01:00
Use compact table format
This commit is contained in:
parent
84fa325aac
commit
3508070425
@ -42,30 +42,24 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Torrent Info</h2>
|
<h2>Torrent Info</h2>
|
||||||
{{range .TorrentInfo}}
|
|
||||||
<table style="width:100%">
|
<table style="width:100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td>Name</td>
|
<th>Name</th>
|
||||||
<td class="name">{{.Name}}</td>
|
<th>Date Added</th>
|
||||||
|
<th>Total Size</th>
|
||||||
|
<th>Peers Connected</th>
|
||||||
|
<th>Peers Getting From Us</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{range .TorrentInfo}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>Date Added</td>
|
<td>{{.Name}}</td>
|
||||||
<td>{{.DateAdded}}</td>
|
<td>{{.DateAdded}}</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Total Size</td>
|
|
||||||
<td>{{.TotalSize}}</td>
|
<td>{{.TotalSize}}</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Peers Connected</td>
|
|
||||||
<td>{{.PeersConnected}}</td>
|
<td>{{.PeersConnected}}</td>
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Peers Getting From Us</td>
|
|
||||||
<td>{{.PeersGettingFromUs}}</td>
|
<td>{{.PeersGettingFromUs}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
{{end}}
|
||||||
</table>
|
</table>
|
||||||
{{end}}
|
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user