Use compact table format

This commit is contained in:
Jeffrey Serio 2023-04-01 08:08:13 -05:00
parent 3508070425
commit a034b66023

View File

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