Almost finished adding phrases to panel debug.

Add the panel_debug_memory_stats_mspaninuse phrase.
Add the panel_debug_memory_stats_mcacheinuse phrase.
Add the panel_debug_memory_stats_mspansys phrase.
Add the panel_debug_database_profile_replies phrase.
Add the panel_debug_database_activity_stream phrase.
Add the panel_debug_database_likes phrase.
Add the panel_debug_database_attachments phrase.
Add the panel_debug_database_polls phrase.
Add the panel_debug_database_login_logs phrase.
Add the panel_debug_database_reg_logs phrase.
Add the panel_debug_database_mod_logs phrase.
Add the panel_debug_database_admin_logs phrase.
Add the panel_debug_database_views phrase.
Add the panel_debug_database_views_agents phrase.
Add the panel_debug_database_views_forums phrase.
Add the panel_debug_database_views_langs phrase.
Add the panel_debug_database_views_referrers phrase.
Add the panel_debug_database_views_systems phrase.
Add the panel_debug_disk_static_files phrase.
Add the panel_debug_disk_attachments phrase.
Add the panel_debug_disk_avatars phrase.
Add the panel_debug_disk_log_files phrase.
Add the panel_debug_disk_backups phrase.
Add the panel_debug_disk_git phrase.
This commit is contained in:
Azareal 2019-10-11 18:45:09 +10:00
parent 65b4fef40e
commit cc986965fb
3 changed files with 72 additions and 73 deletions

View File

@ -1095,6 +1095,9 @@
"panel_debug_memory_stats_heapidle":"HeapIdle", "panel_debug_memory_stats_heapidle":"HeapIdle",
"panel_debug_memory_stats_heapobjects":"HeapObjects", "panel_debug_memory_stats_heapobjects":"HeapObjects",
"panel_debug_memory_stats_stackinuse":"StackInuse", "panel_debug_memory_stats_stackinuse":"StackInuse",
"panel_debug_memory_stats_mspaninuse":"MSpanInuse",
"panel_debug_memory_stats_mcacheinuse":"MCacheInuse",
"panel_debug_memory_stats_mspansys":"MSpanSys",
"panel_debug_caches":"Caches", "panel_debug_caches":"Caches",
"panel_debug_caches_topic":"Topic Cache", "panel_debug_caches_topic":"Topic Cache",
@ -1106,6 +1109,28 @@
"panel_debug_database_topics":"Topics", "panel_debug_database_topics":"Topics",
"panel_debug_database_users":"Users", "panel_debug_database_users":"Users",
"panel_debug_database_replies":"Replies", "panel_debug_database_replies":"Replies",
"panel_debug_disk":"Disk" "panel_debug_database_profile_replies":"Profile Replies",
"panel_debug_database_activity_stream":"Activity Stream",
"panel_debug_database_likes":"Likes",
"panel_debug_database_attachments":"Attachments",
"panel_debug_database_polls":"Polls",
"panel_debug_database_login_logs":"Login Logs",
"panel_debug_database_reg_logs":"Reg Logs",
"panel_debug_database_mod_logs":"Mod Logs",
"panel_debug_database_admin_logs":"Admin Logs",
"panel_debug_database_views":"Views",
"panel_debug_database_views_agents":"Views Agents",
"panel_debug_database_views_forums":"Views Forums",
"panel_debug_database_views_langs":"Views Langs",
"panel_debug_database_views_referrers":"Views Referrers",
"panel_debug_database_views_systems":"Views Systems",
"panel_debug_disk":"Disk",
"panel_debug_disk_static_files":"Static Files",
"panel_debug_disk_attachments":"Attachments",
"panel_debug_disk_avatars":"Avatars",
"panel_debug_disk_log_files":"Log Files",
"panel_debug_disk_backups":"Backups",
"panel_debug_disk_git":"Git"
} }
} }

View File

@ -26,4 +26,4 @@
</div> </div>
</main> </main>
</div> </div>
{{template "footer.html" . }} {{template "footer.html" . }}

View File

@ -32,25 +32,20 @@
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_sys"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_sys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapsys"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapsys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapalloc"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapalloc"}}
<div class="grid_item grid_stat"><span>{{.MemStats.Sys}} ({{bunit .MemStats.Sys}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.Sys}} ({{bunit .MemStats.Sys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}} ({{bunit .MemStats.HeapSys}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}} ({{bunit .MemStats.HeapSys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}} ({{bunit .MemStats.HeapAlloc}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}} ({{bunit .MemStats.HeapAlloc}})</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapidle"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapidle"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapobjects"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapobjects"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_stackinuse"}} {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_stackinuse"}}
<div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}} ({{bunit .MemStats.HeapIdle}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}} ({{bunit .MemStats.HeapIdle}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}} ({{bunit .MemStats.StackInuse}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}} ({{bunit .MemStats.StackInuse}})</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mspaninuse"}}
<div class="grid_item grid_stat grid_stat_head"><span>MSpanInuse</span></div> {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mcacheinuse"}}
<div class="grid_item grid_stat grid_stat_head"><span>MCacheInuse</span></div> {{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mspansys"}}
<div class="grid_item grid_stat grid_stat_head"><span>MSpanSys</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanInuse}} ({{bunit .MemStats.MSpanInuse}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.MSpanInuse}} ({{bunit .MemStats.MSpanInuse}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheInuse}} ({{bunit .MemStats.MCacheInuse}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.MCacheInuse}} ({{bunit .MemStats.MCacheInuse}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanSys}} ({{bunit .MemStats.MSpanSys}})</span></div> <div class="grid_item grid_stat"><span>{{.MemStats.MSpanSys}} ({{bunit .MemStats.MSpanSys}})</span></div>
@ -71,16 +66,13 @@
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic"}} {{template "panel_debug_stat_head.html" "panel_debug_caches_topic"}}
{{template "panel_debug_stat_head.html" "panel_debug_caches_user"}} {{template "panel_debug_stat_head.html" "panel_debug_caches_user"}}
{{template "panel_debug_stat_head.html" "panel_debug_caches_reply"}} {{template "panel_debug_stat_head.html" "panel_debug_caches_reply"}}
<div class="grid_item grid_stat"><span>{{.Cache.Topics}} / {{.Cache.TCap}}</span></div> <div class="grid_item grid_stat"><span>{{.Cache.Topics}} / {{.Cache.TCap}}</span></div>
<div class="grid_item grid_stat"><span>{{.Cache.Users}} / {{.Cache.UCap}}</span></div> <div class="grid_item grid_stat"><span>{{.Cache.Users}} / {{.Cache.UCap}}</span></div>
<div class="grid_item grid_stat"><span>{{.Cache.Replies}} / {{.Cache.RCap}}</span></div> <div class="grid_item grid_stat"><span>{{.Cache.Replies}} / {{.Cache.RCap}}</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic_list"}} {{template "panel_debug_stat_head.html" "panel_debug_caches_topic_list"}}
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
<div class="grid_item grid_stat"><span>{{if .Cache.TopicListThaw}}Thawed{{else}}Sleeping{{end}}</span></div> <div class="grid_item grid_stat"><span>{{if .Cache.TopicListThaw}}Thawed{{else}}Sleeping{{end}}</span></div>
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
@ -92,92 +84,74 @@
{{template "panel_debug_stat_head.html" "panel_debug_database_topics"}} {{template "panel_debug_stat_head.html" "panel_debug_database_topics"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_users"}} {{template "panel_debug_stat_head.html" "panel_debug_database_users"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_replies"}} {{template "panel_debug_stat_head.html" "panel_debug_database_replies"}}
{{template "panel_debug_stat.html" .Database.Topics}}
{{template "panel_debug_stat.html" .Database.Users}}
{{template "panel_debug_stat.html" .Database.Replies}}
<div class="grid_item grid_stat"><span>{{.Database.Topics}}</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_profile_replies"}}
<div class="grid_item grid_stat"><span>{{.Database.Users}}</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_activity_stream"}}
<div class="grid_item grid_stat"><span>{{.Database.Replies}}</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_likes"}}
{{template "panel_debug_stat.html" .Database.ProfileReplies}}
{{template "panel_debug_stat.html" .Database.ActivityStream}}
{{template "panel_debug_stat.html" .Database.Likes}}
{{template "panel_debug_stat_head.html" "panel_debug_database_attachments"}}
<div class="grid_item grid_stat grid_stat_head"><span>Profile Replies</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_polls"}}
<div class="grid_item grid_stat grid_stat_head"><span>Activity Stream</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Likes</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ProfileReplies}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ActivityStream}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.Likes}}</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Attachments</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Polls</span></div>
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.Attachments}}
<div class="grid_item grid_stat"><span>{{.Database.Attachments}}</span></div> {{template "panel_debug_stat.html" .Database.Polls}}
<div class="grid_item grid_stat"><span>{{.Database.Polls}}</span></div>
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_login_logs"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_reg_logs"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_mod_logs"}}
{{template "panel_debug_stat.html" .Database.LoginLogs}}
{{template "panel_debug_stat.html" .Database.RegLogs}}
{{template "panel_debug_stat.html" .Database.ModLogs}}
<div class="grid_item grid_stat grid_stat_head"><span>Login Logs</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_admin_logs"}}
<div class="grid_item grid_stat grid_stat_head"><span>Reg Logs</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Mod Logs</span></div>
<div class="grid_item grid_stat"><span>{{.Database.LoginLogs}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.RegLogs}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ModLogs}}</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Admin Logs</span></div>
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.AdminLogs}}
<div class="grid_item grid_stat"><span>{{.Database.AdminLogs}}</span></div>
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_agents"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_forums"}}
{{template "panel_debug_stat.html" .Database.Views}}
{{template "panel_debug_stat.html" .Database.ViewsAgents}}
{{template "panel_debug_stat.html" .Database.ViewsForums}}
<div class="grid_item grid_stat grid_stat_head"><span>Views</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_views_langs"}}
<div class="grid_item grid_stat grid_stat_head"><span>Views Agents</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_views_referrers"}}
<div class="grid_item grid_stat grid_stat_head"><span>Views Forums</span></div> {{template "panel_debug_stat_head.html" "panel_debug_database_views_systems"}}
{{template "panel_debug_stat.html" .Database.ViewsLangs}}
<div class="grid_item grid_stat"><span>{{.Database.Views}}</span></div> {{template "panel_debug_stat.html" .Database.ViewsReferrers}}
<div class="grid_item grid_stat"><span>{{.Database.ViewsAgents}}</span></div> {{template "panel_debug_stat.html" .Database.ViewsSystems}}
<div class="grid_item grid_stat"><span>{{.Database.ViewsForums}}</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Views Langs</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Views Referrers</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Views Systems</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ViewsLangs}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ViewsReferrers}}</span></div>
<div class="grid_item grid_stat"><span>{{.Database.ViewsSystems}}</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Post Analytics</span></div> <div class="grid_item grid_stat grid_stat_head"><span>Post Analytics</span></div>
<div class="grid_item grid_stat grid_stat_head"><span>Topic Analytics</span></div> <div class="grid_item grid_stat grid_stat_head"><span>Topic Analytics</span></div>
{{template "panel_debug_stat_head_q.html"}} {{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.PostChunks}}
<div class="grid_item grid_stat"><span>{{.Database.PostChunks}}</span></div> {{template "panel_debug_stat.html" .Database.TopicChunks}}
<div class="grid_item grid_stat"><span>{{.Database.TopicChunks}}</span></div>
{{template "panel_debug_stat_q.html"}} {{template "panel_debug_stat_q.html"}}
</div> </div>
<div class="colstack_item colstack_head colstack_sub_head"> <div class="colstack_item colstack_head colstack_sub_head">
<div class="rowitem"><h2>{{lang "panel_debug_disk"}}</h2></div> <div class="rowitem"><h2>{{lang "panel_debug_disk"}}</h2></div>
</div>{{flush}} </div>{{flush}}
<div id="panel_debug" class="colstack_grid"> <div id="panel_debug" class="colstack_grid">
<div class="grid_item grid_stat grid_stat_head"><span>Static Files</span></div> {{template "panel_debug_stat_head.html" "panel_debug_disk_static_files"}}
<div class="grid_item grid_stat grid_stat_head"><span>Attachments</span></div> {{template "panel_debug_stat_head.html" "panel_debug_disk_attachments"}}
<div class="grid_item grid_stat grid_stat_head"><span>Avatars</span></div> {{template "panel_debug_stat_head.html" "panel_debug_disk_avatars"}}
<div class="grid_item grid_stat"><span>{{bunit .Disk.Static}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Static}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Attachments}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Attachments}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Avatars}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Avatars}}</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_disk_log_files"}}
<div class="grid_item grid_stat grid_stat_head"><span>Log Files</span></div> {{template "panel_debug_stat_head.html" "panel_debug_disk_backups"}}
<div class="grid_item grid_stat grid_stat_head"><span>Backups</span></div> {{template "panel_debug_stat_head.html" "panel_debug_disk_git"}}
<div class="grid_item grid_stat grid_stat_head"><span>Git</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Logs}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Logs}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Backups}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Backups}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Git}}</span></div> <div class="grid_item grid_stat"><span>{{bunit .Disk.Git}}</span></div>
</div> </div>{{flush}}