diff --git a/templates/user/admin.tmpl b/templates/user/admin.tmpl index c855fa4..d454628 100644 --- a/templates/user/admin.tmpl +++ b/templates/user/admin.tmpl @@ -1,189 +1,189 @@ {{define "admin"}} {{template "header" .}}

Admin Dashboard

{{if .Message}}

{{.Message}}

{{end}}
{{if not .SingleUser}}

Site

About page

-

Describe what your instance is about. Accepts Markdown.

+

Describe what your instance is about. Accepts Markdown.

Privacy page

-

Outline your privacy policy. Accepts Markdown.

+

Outline your privacy policy. Accepts Markdown.


{{end}}

Users

reset password

writefreely --reset-pass <username>

App Configuration

{{if .ConfigMessage}}

{{.ConfigMessage}}

{{end}}
Site Name
Host
{{.Config.Host}}
User Mode
{{if .Config.SingleUser}}Single user{{else}}Multiple users{{end}}

Application

Server Uptime
{{.SysStatus.Uptime}}
Current Goroutines
{{.SysStatus.NumGoroutine}}
Current memory usage
{{.SysStatus.MemAllocated}}
Total mem allocated
{{.SysStatus.MemTotal}}
Memory obtained
{{.SysStatus.MemSys}}
Pointer lookup times
{{.SysStatus.Lookups}}
Memory allocate times
{{.SysStatus.MemMallocs}}
Memory free times
{{.SysStatus.MemFrees}}
Current heap usage
{{.SysStatus.HeapAlloc}}
Heap memory obtained
{{.SysStatus.HeapSys}}
Heap memory idle
{{.SysStatus.HeapIdle}}
Heap memory in use
{{.SysStatus.HeapInuse}}
Heap memory released
{{.SysStatus.HeapReleased}}
Heap objects
{{.SysStatus.HeapObjects}}
Bootstrap stack usage
{{.SysStatus.StackInuse}}
Stack memory obtained
{{.SysStatus.StackSys}}
MSpan structures in use
{{.SysStatus.MSpanInuse}}
MSpan structures obtained
{{.SysStatus.HeapSys}}
MCache structures in use
{{.SysStatus.MCacheInuse}}
MCache structures obtained
{{.SysStatus.MCacheSys}}
Profiling bucket hash table obtained
{{.SysStatus.BuckHashSys}}
GC metadata obtained
{{.SysStatus.GCSys}}
Other system allocation obtained
{{.SysStatus.OtherSys}}
Next GC recycle
{{.SysStatus.NextGC}}
Since last GC
{{.SysStatus.LastGC}}
Total GC pause
{{.SysStatus.PauseTotalNs}}
Last GC pause
{{.SysStatus.PauseNs}}
GC times
{{.SysStatus.NumGC}}
{{template "footer" .}} {{template "body-end" .}} {{end}}