{{template "admin/navbar" .}}
{{template "base/alert" .}} {{if .NeedUpdate}}

{{(.locale.Tr "admin.dashboard.new_version_hint" .RemoteVersion AppVer) | Str2html}}

{{end}}

{{.locale.Tr "admin.dashboard.statistic"}}

{{.locale.Tr "admin.dashboard.statistic_info" .Stats.Counter.User .Stats.Counter.Org .Stats.Counter.PublicKey .Stats.Counter.Repo .Stats.Counter.Watch .Stats.Counter.Star .Stats.Counter.Action .Stats.Counter.Access .Stats.Counter.Issue .Stats.Counter.Comment .Stats.Counter.Oauth .Stats.Counter.Follow .Stats.Counter.Mirror .Stats.Counter.Release .Stats.Counter.AuthSource .Stats.Counter.Webhook .Stats.Counter.Milestone .Stats.Counter.Label .Stats.Counter.HookTask .Stats.Counter.Team .Stats.Counter.UpdateTask .Stats.Counter.Attachment | Str2html}}

{{.locale.Tr "admin.dashboard.operations"}}

{{.CsrfTokenHtml}}
{{if and (not .SSH.Disabled) (not .SSH.StartBuiltinServer)}} {{end}}
{{.locale.Tr "admin.dashboard.delete_inactive_accounts"}}
{{.locale.Tr "admin.dashboard.delete_repo_archives"}}
{{.locale.Tr "admin.dashboard.delete_missing_repos"}}
{{.locale.Tr "admin.dashboard.git_gc_repos"}}
{{.locale.Tr "admin.dashboard.resync_all_sshkeys"}}
{{.locale.Tr "admin.dashboard.resync_all_sshkeys.desc"}}
{{.locale.Tr "admin.dashboard.resync_all_sshprincipals"}}
{{.locale.Tr "admin.dashboard.resync_all_sshprincipals.desc"}}
{{.locale.Tr "admin.dashboard.resync_all_hooks"}}
{{.locale.Tr "admin.dashboard.reinit_missing_repos"}}
{{.locale.Tr "admin.dashboard.sync_external_users"}}
{{.locale.Tr "admin.dashboard.repo_health_check"}}
{{.locale.Tr "admin.dashboard.delete_generated_repository_avatars"}}

{{.locale.Tr "admin.dashboard.system_status"}}

{{.locale.Tr "admin.dashboard.server_uptime"}}
{{.SysStatus.StartTime}}
{{.locale.Tr "admin.dashboard.current_goroutine"}}
{{.SysStatus.NumGoroutine}}
{{.locale.Tr "admin.dashboard.current_memory_usage"}}
{{.SysStatus.MemAllocated}}
{{.locale.Tr "admin.dashboard.total_memory_allocated"}}
{{.SysStatus.MemTotal}}
{{.locale.Tr "admin.dashboard.memory_obtained"}}
{{.SysStatus.MemSys}}
{{.locale.Tr "admin.dashboard.pointer_lookup_times"}}
{{.SysStatus.Lookups}}
{{.locale.Tr "admin.dashboard.memory_allocate_times"}}
{{.SysStatus.MemMallocs}}
{{.locale.Tr "admin.dashboard.memory_free_times"}}
{{.SysStatus.MemFrees}}
{{.locale.Tr "admin.dashboard.current_heap_usage"}}
{{.SysStatus.HeapAlloc}}
{{.locale.Tr "admin.dashboard.heap_memory_obtained"}}
{{.SysStatus.HeapSys}}
{{.locale.Tr "admin.dashboard.heap_memory_idle"}}
{{.SysStatus.HeapIdle}}
{{.locale.Tr "admin.dashboard.heap_memory_in_use"}}
{{.SysStatus.HeapInuse}}
{{.locale.Tr "admin.dashboard.heap_memory_released"}}
{{.SysStatus.HeapReleased}}
{{.locale.Tr "admin.dashboard.heap_objects"}}
{{.SysStatus.HeapObjects}}
{{.locale.Tr "admin.dashboard.bootstrap_stack_usage"}}
{{.SysStatus.StackInuse}}
{{.locale.Tr "admin.dashboard.stack_memory_obtained"}}
{{.SysStatus.StackSys}}
{{.locale.Tr "admin.dashboard.mspan_structures_usage"}}
{{.SysStatus.MSpanInuse}}
{{.locale.Tr "admin.dashboard.mspan_structures_obtained"}}
{{.SysStatus.MSpanSys}}
{{.locale.Tr "admin.dashboard.mcache_structures_usage"}}
{{.SysStatus.MCacheInuse}}
{{.locale.Tr "admin.dashboard.mcache_structures_obtained"}}
{{.SysStatus.MCacheSys}}
{{.locale.Tr "admin.dashboard.profiling_bucket_hash_table_obtained"}}
{{.SysStatus.BuckHashSys}}
{{.locale.Tr "admin.dashboard.gc_metadata_obtained"}}
{{.SysStatus.GCSys}}
{{.locale.Tr "admin.dashboard.other_system_allocation_obtained"}}
{{.SysStatus.OtherSys}}
{{.locale.Tr "admin.dashboard.next_gc_recycle"}}
{{.SysStatus.NextGC}}
{{.locale.Tr "admin.dashboard.last_gc_time"}}
{{.SysStatus.LastGC}}
{{.locale.Tr "admin.dashboard.total_gc_pause"}}
{{.SysStatus.PauseTotalNs}}
{{.locale.Tr "admin.dashboard.last_gc_pause"}}
{{.SysStatus.PauseNs}}
{{.locale.Tr "admin.dashboard.gc_times"}}
{{.SysStatus.NumGC}}