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
3508070425
commit
a034b66023
@ -5,14 +5,18 @@
|
|||||||
<link rel="icon" type="image/x-icon" href="coffee.svg">
|
<link rel="icon" type="image/x-icon" href="coffee.svg">
|
||||||
<link href="catppuccin.css" rel="stylesheet">
|
<link href="catppuccin.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
max-width: 96%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Torrent Stats</h1>
|
<h1>Torrent Stats</h1>
|
||||||
<p>As of {{.Date}}</p>
|
<p>As of {{.Date}}</p>
|
||||||
|
|
||||||
<h2>Session Stats</h2>
|
<h2>Session Stats</h2>
|
||||||
<table style="width:100%">
|
<table>
|
||||||
{{range .SessionStats}}
|
{{range .SessionStats}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{.Label}}</td>
|
<td>{{.Label}}</td>
|
||||||
@ -22,7 +26,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Current Stats</h2>
|
<h2>Current Stats</h2>
|
||||||
<table style="width:100%">
|
<table>
|
||||||
{{range .CurrentStats}}
|
{{range .CurrentStats}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{.Label}}</td>
|
<td>{{.Label}}</td>
|
||||||
@ -32,7 +36,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Cumulative Stats</h2>
|
<h2>Cumulative Stats</h2>
|
||||||
<table style="width:100%">
|
<table>
|
||||||
{{range .CumulativeStats}}
|
{{range .CumulativeStats}}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{.Label}}</td>
|
<td>{{.Label}}</td>
|
||||||
@ -42,7 +46,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<h2>Torrent Info</h2>
|
<h2>Torrent Info</h2>
|
||||||
<table style="width:100%">
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>Date Added</th>
|
<th>Date Added</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user