Finish playing with panel_debug for now.
Eliminate unnecessary indentation in panel_plugins. Add panel_debug_subhead template. Add panel_debug_memory_stats_mcachesys phrase. Add panel_debug_memory_stats_gcsys phrase. Add panel_debug_memory_stats_othersys phrase. Add panel_debug_database_post_analytics phrase. Add panel_debug_database_topic_analytics phrase.
This commit is contained in:
parent
cc986965fb
commit
f76af39a11
|
@ -1098,6 +1098,9 @@
|
||||||
"panel_debug_memory_stats_mspaninuse":"MSpanInuse",
|
"panel_debug_memory_stats_mspaninuse":"MSpanInuse",
|
||||||
"panel_debug_memory_stats_mcacheinuse":"MCacheInuse",
|
"panel_debug_memory_stats_mcacheinuse":"MCacheInuse",
|
||||||
"panel_debug_memory_stats_mspansys":"MSpanSys",
|
"panel_debug_memory_stats_mspansys":"MSpanSys",
|
||||||
|
"panel_debug_memory_stats_mcachesys":"MCacheSys",
|
||||||
|
"panel_debug_memory_stats_gcsys":"GCSys",
|
||||||
|
"panel_debug_memory_stats_othersys":"OtherSys",
|
||||||
|
|
||||||
"panel_debug_caches":"Caches",
|
"panel_debug_caches":"Caches",
|
||||||
"panel_debug_caches_topic":"Topic Cache",
|
"panel_debug_caches_topic":"Topic Cache",
|
||||||
|
@ -1124,6 +1127,8 @@
|
||||||
"panel_debug_database_views_langs":"Views Langs",
|
"panel_debug_database_views_langs":"Views Langs",
|
||||||
"panel_debug_database_views_referrers":"Views Referrers",
|
"panel_debug_database_views_referrers":"Views Referrers",
|
||||||
"panel_debug_database_views_systems":"Views Systems",
|
"panel_debug_database_views_systems":"Views Systems",
|
||||||
|
"panel_debug_database_post_analytics":"Post Analytics",
|
||||||
|
"panel_debug_database_topic_analytics":"Topic Analytics",
|
||||||
|
|
||||||
"panel_debug_disk":"Disk",
|
"panel_debug_disk":"Disk",
|
||||||
"panel_debug_disk_static_files":"Static Files",
|
"panel_debug_disk_static_files":"Static Files",
|
||||||
|
|
|
@ -24,10 +24,7 @@
|
||||||
{{template "panel_debug_stat.html" .CPUs}}
|
{{template "panel_debug_stat.html" .CPUs}}
|
||||||
{{template "panel_debug_stat_q.html"}}
|
{{template "panel_debug_stat_q.html"}}
|
||||||
</div>
|
</div>
|
||||||
|
{{template "panel_debug_subhead.html" "panel_debug_memory_stats"}}
|
||||||
<div class="colstack_item colstack_head colstack_sub_head">
|
|
||||||
<div class="rowitem"><h2>{{lang "panel_debug_memory_stats"}}</h2></div>
|
|
||||||
</div>{{flush}}
|
|
||||||
<div id="panel_debug" class="colstack_grid">
|
<div id="panel_debug" class="colstack_grid">
|
||||||
{{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"}}
|
||||||
|
@ -50,18 +47,14 @@
|
||||||
<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>
|
||||||
|
|
||||||
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mcachesys"}}
|
||||||
<div class="grid_item grid_stat grid_stat_head"><span>MCacheSys</span></div>
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_gcsys"}}
|
||||||
<div class="grid_item grid_stat grid_stat_head"><span>GCSys</span></div>
|
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_othersys"}}
|
||||||
<div class="grid_item grid_stat grid_stat_head"><span>OtherSys</span></div>
|
|
||||||
|
|
||||||
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheSys}} ({{bunit .MemStats.MCacheSys}})</span></div>
|
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheSys}} ({{bunit .MemStats.MCacheSys}})</span></div>
|
||||||
<div class="grid_item grid_stat"><span>{{.MemStats.GCSys}} ({{bunit .MemStats.GCSys}})</span></div>
|
<div class="grid_item grid_stat"><span>{{.MemStats.GCSys}} ({{bunit .MemStats.GCSys}})</span></div>
|
||||||
<div class="grid_item grid_stat"><span>{{.MemStats.OtherSys}} ({{bunit .MemStats.OtherSys}})</span></div>
|
<div class="grid_item grid_stat"><span>{{.MemStats.OtherSys}} ({{bunit .MemStats.OtherSys}})</span></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="colstack_item colstack_head colstack_sub_head">
|
{{template "panel_debug_subhead.html" "panel_debug_caches"}}
|
||||||
<div class="rowitem"><h2>{{lang "panel_debug_caches"}}</h2></div>
|
|
||||||
</div>
|
|
||||||
<div id="panel_debug" class="colstack_grid">
|
<div id="panel_debug" class="colstack_grid">
|
||||||
{{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"}}
|
||||||
|
@ -77,9 +70,7 @@
|
||||||
{{template "panel_debug_stat_q.html"}}
|
{{template "panel_debug_stat_q.html"}}
|
||||||
{{template "panel_debug_stat_q.html"}}
|
{{template "panel_debug_stat_q.html"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="colstack_item colstack_head colstack_sub_head">
|
{{template "panel_debug_subhead.html" "panel_debug_database"}}
|
||||||
<div class="rowitem"><h2>{{lang "panel_debug_database"}}</h2></div>
|
|
||||||
</div>{{flush}}
|
|
||||||
<div id="panel_debug" class="colstack_grid">
|
<div id="panel_debug" class="colstack_grid">
|
||||||
{{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"}}
|
||||||
|
@ -130,16 +121,14 @@
|
||||||
{{template "panel_debug_stat.html" .Database.ViewsReferrers}}
|
{{template "panel_debug_stat.html" .Database.ViewsReferrers}}
|
||||||
{{template "panel_debug_stat.html" .Database.ViewsSystems}}
|
{{template "panel_debug_stat.html" .Database.ViewsSystems}}
|
||||||
|
|
||||||
<div class="grid_item grid_stat grid_stat_head"><span>Post Analytics</span></div>
|
{{template "panel_debug_stat_head.html" "panel_debug_database_post_analytics"}}
|
||||||
<div class="grid_item grid_stat grid_stat_head"><span>Topic Analytics</span></div>
|
{{template "panel_debug_stat_head.html" "panel_debug_database_topic_analytics"}}
|
||||||
{{template "panel_debug_stat_head_q.html"}}
|
{{template "panel_debug_stat_head_q.html"}}
|
||||||
{{template "panel_debug_stat.html" .Database.PostChunks}}
|
{{template "panel_debug_stat.html" .Database.PostChunks}}
|
||||||
{{template "panel_debug_stat.html" .Database.TopicChunks}}
|
{{template "panel_debug_stat.html" .Database.TopicChunks}}
|
||||||
{{template "panel_debug_stat_q.html"}}
|
{{template "panel_debug_stat_q.html"}}
|
||||||
</div>
|
</div>
|
||||||
<div class="colstack_item colstack_head colstack_sub_head">
|
{{template "panel_debug_subhead.html" "panel_debug_disk"}}
|
||||||
<div class="rowitem"><h2>{{lang "panel_debug_disk"}}</h2></div>
|
|
||||||
</div>{{flush}}
|
|
||||||
<div id="panel_debug" class="colstack_grid">
|
<div id="panel_debug" class="colstack_grid">
|
||||||
{{template "panel_debug_stat_head.html" "panel_debug_disk_static_files"}}
|
{{template "panel_debug_stat_head.html" "panel_debug_disk_static_files"}}
|
||||||
{{template "panel_debug_stat_head.html" "panel_debug_disk_attachments"}}
|
{{template "panel_debug_stat_head.html" "panel_debug_disk_attachments"}}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<div class="colstack_item colstack_head colstack_sub_head">
|
||||||
|
<div class="rowitem"><h2>{{lang .}}</h2></div>
|
||||||
|
</div>{{flush}}
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="colstack_item colstack_head">
|
<div class="colstack_item colstack_head">
|
||||||
<div class="rowitem"><h1>{{lang "panel_plugins_head"}}</h1></div>
|
<div class="rowitem"><h1>{{lang "panel_plugins_head"}}</h1></div>
|
||||||
</div>
|
</div>
|
||||||
<div id="panel_plugins" class="colstack_item complex_rowlist">
|
<div id="panel_plugins" class="colstack_item complex_rowlist">
|
||||||
{{range .ItemList}}
|
{{range .ItemList}}
|
||||||
<div class="rowitem editable_parent">
|
<div class="rowitem editable_parent">
|
||||||
<span class="panel_plugin_meta">
|
<span class="panel_plugin_meta">
|
||||||
|
@ -18,4 +18,4 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue