storj/web/satellite/static/reports/usageReport.html

94 lines
3.8 KiB
HTML
Raw Normal View History

<!--Copyright (C) 2019 Storj Labs, Inc.-->
<!--See LICENSE for copying information.-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bucket usage rollups</title>
<link href="/static/static/fonts/font_regular.ttf" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="error.css">
<style>
table.blueTable {
border: 1px solid #1C6EA4;
background-color: #EEEEEE;
width: 100%;
text-align: center;
border-collapse: collapse;
}
table.blueTable td, table.blueTable th {
border: 1px solid #AAAAAA;
padding: 3px 2px;
}
table.blueTable tbody td {
font-size: 13px;
}
table.blueTable tbody tr:nth-child(even) {
background: #D0E4F5;
}
table.blueTable thead {
background: #1C6EA4;
background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
border-bottom: 2px solid #444444;
}
table.blueTable thead th {
font-size: 15px;
font-weight: bold;
color: #FFFFFF;
border-left: 2px solid #D0E4F5;
}
table.blueTable thead th:first-child {
border-left: none;
}
</style>
</head>
<body>
<div>
<table class="blueTable">
<thead>
<tr>
<th>Bucket Name</th>
<th>Roll Up Period Start</th>
<th>Roll Up Period End</th>
<th>Network Stored Data, GBh</th>
<th colspan="3">Egress, GB</th>
<th>Segments, count*hours</th>
<th>Objects, count*hours</th>
<th>Metadata Size, GBh</th>
</tr>
<tr>
<th></th>
<th></th>
<th></th>
<th>Total</th>
<th>Repair</th>
<th>Get</th>
<th>Audit</th>
<th>Total Segments</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
{{ range $i, $value := . }}
<tr>
<td class="tg-0lax">{{ printf "%s" $value.BucketName }}</td>
<td class="tg-0lax">{{ printf "%s" $value.Since }}</td>
<td class="tg-0lax">{{ printf "%s" $value.Before }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.TotalStoredData }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.RepairEgress }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.GetEgress }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.AuditEgress }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.TotalSegments }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.ObjectCount }}</td>
<td class="tg-0lax">{{ printf "%.6f" $value.MetadataSize }}</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</body>
</html>