{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin dashboard")}}
{{if .NeedUpdate}}

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

{{end}}

{{ctx.Locale.Tr "admin.dashboard.operations"}}

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

{{ctx.Locale.Tr "admin.dashboard.system_status"}}

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