|
|
|
@ -1,7 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{{template "base/head" .}} |
|
|
|
|
<div class="admin monitor"> |
|
|
|
|
<div class="admin dashboard"> |
|
|
|
|
<div class="ui container"> |
|
|
|
|
<div class="ui grid"> |
|
|
|
|
{{template "admin/navbar" .}} |
|
|
|
@ -10,18 +8,16 @@
|
|
|
|
|
<h4 class="ui top attached header"> |
|
|
|
|
{{.i18n.Tr "admin.dashboard.statistic"}} |
|
|
|
|
</h4> |
|
|
|
|
<div class="ui attached table segment"> |
|
|
|
|
<p class="admin-desc"> |
|
|
|
|
<div class="ui attached segment"> |
|
|
|
|
<p> |
|
|
|
|
{{.i18n.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.LoginSource .Stats.Counter.Webhook .Stats.Counter.Milestone .Stats.Counter.Label .Stats.Counter.HookTask .Stats.Counter.Team .Stats.Counter.UpdateTask .Stats.Counter.Attachment | Str2html}} |
|
|
|
|
</p> |
|
|
|
|
</div> |
|
|
|
|
<br> |
|
|
|
|
<h4 class="ui top attached header"> |
|
|
|
|
{{.i18n.Tr "admin.dashboard.operations"}} |
|
|
|
|
</h4> |
|
|
|
|
<div class="ui attached table segment"> |
|
|
|
|
<div class="admin-table"> |
|
|
|
|
<table class="table"> |
|
|
|
|
<table class="ui very basic table"> |
|
|
|
|
<tbody> |
|
|
|
|
<tr> |
|
|
|
|
<td>{{.i18n.Tr "admin.dashboard.delete_inactivate_accounts"}}</td> |
|
|
|
@ -46,8 +42,7 @@
|
|
|
|
|
</tbody> |
|
|
|
|
</table> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<br> |
|
|
|
|
|
|
|
|
|
<h4 class="ui top attached header"> |
|
|
|
|
{{.i18n.Tr "admin.dashboard.system_status"}} |
|
|
|
|
</h4> |
|
|
|
@ -57,7 +52,7 @@
|
|
|
|
|
<dd>{{.SysStatus.Uptime}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.current_goroutine"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.NumGoroutine}}</dd> |
|
|
|
|
<hr/> |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.current_memory_usage"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.MemAllocated}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.total_memory_allocated"}}</dt> |
|
|
|
@ -70,7 +65,7 @@
|
|
|
|
|
<dd>{{.SysStatus.MemMallocs}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.memory_free_times"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.MemFrees}}</dd> |
|
|
|
|
<hr/> |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.current_heap_usage"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.HeapAlloc}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.heap_memory_obtained"}}</dt> |
|
|
|
@ -83,7 +78,7 @@
|
|
|
|
|
<dd>{{.SysStatus.HeapReleased}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.heap_objects"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.HeapObjects}}</dd> |
|
|
|
|
<hr/> |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.bootstrap_stack_usage"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.StackInuse}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.stack_memory_obtained"}}</dt> |
|
|
|
@ -102,7 +97,7 @@
|
|
|
|
|
<dd>{{.SysStatus.GCSys}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.other_system_allocation_obtained"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.OtherSys}}</dd> |
|
|
|
|
<hr> |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.next_gc_recycle"}}</dt> |
|
|
|
|
<dd>{{.SysStatus.NextGC}}</dd> |
|
|
|
|
<dt>{{.i18n.Tr "admin.dashboard.last_gc_time"}}</dt> |
|
|
|
@ -115,10 +110,8 @@
|
|
|
|
|
<dd>{{.SysStatus.NumGC}}</dd> |
|
|
|
|
</dl> |
|
|
|
|
</div> |
|
|
|
|
<br> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
{{template "base/footer" .}} |
|
|
|
|
|
|
|
|
|