summaryrefslogtreecommitdiffstats
path: root/templates/admin/stats.tmpl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/admin/stats.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/admin/stats.tmpl b/templates/admin/stats.tmpl
new file mode 100644
index 0000000..70f2aa7
--- /dev/null
+++ b/templates/admin/stats.tmpl
@@ -0,0 +1,17 @@
+{{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" .}}