mirror of
https://tangled.org/evan.jarrett.net/at-container-registry
synced 2026-04-27 03:35:10 +00:00
32 lines
908 B
HTML
32 lines
908 B
HTML
{{define "partials/top_users.html"}}
|
|
{{if .Users}}
|
|
<div class="overflow-x-auto">
|
|
<table class="table table-zebra table-sm">
|
|
<thead>
|
|
<tr>
|
|
<th>Member</th>
|
|
<th>Usage</th>
|
|
<th>Blobs</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{range .Users}}
|
|
<tr>
|
|
<td>
|
|
<div>
|
|
{{if .Handle}}<strong class="text-base-content">{{.Handle}}</strong><br>{{end}}
|
|
<code class="text-xs text-base-content/50 break-all font-mono">{{.DID}}</code>
|
|
</div>
|
|
</td>
|
|
<td>{{.UsageHuman}}</td>
|
|
<td>{{.BlobCount}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{else}}
|
|
<p class="text-center py-6 text-base-content/60">No usage data yet.</p>
|
|
{{end}}
|
|
{{end}}
|