forgejo-federation/templates/admin/stats.tmpl

18 lines
512 B
Go HTML Template
Raw Permalink Normal View History

{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}}
<div class="admin-setting-content">
<h4 class="ui top attached header">
{{ctx.Locale.Tr "admin.dashboard.statistic"}}
</h4>
<div class="ui attached table segment">
<table class="ui very basic striped table unstackable">
{{range $statsKey, $statsValue := .Stats}}
<tr>
<td width="200">{{$statsKey}}</td>
<td>{{$statsValue}}</td>
</tr>
{{end}}
</table>
</div>
</div>
{{template "admin/layout_footer" .}}