660f24acff
Experimenting with better cache busting for static resources. HTTPSRedirect requests are now counted in the route analytics. More scripts are loaded asynchronously now. Upped the default ReadTimeout to eight seconds. Reduce the number of unneccesary NewAcc calls. Added panel_before_head as an injection point for themes. Themes can now declare scripts to be loaded asynchronously. Tweaked the WS resumption algorithm to mae the backoffs a little less aggressive. Fixed an ordering issue in the WS resumption algorithm where backoffs weren't expiring as fast as they should have. Fixed a bug where template logs weren't being written due to a panic. You can now use byte slices in more places in the transpiled templates. Fixed a bug where Cosora's misc.js seemed to be erroring out. Fixed a bug where YT embeds were getting blocked by the CSP. Added the panel_back_to_site phrase. Added the panel_welcome phrase.
55 lines
2.9 KiB
HTML
55 lines
2.9 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colstack panel_stack">
|
|
{{template "panel_menu.html" . }}
|
|
<main id="panel_dashboard_right" class="colstack_right">
|
|
{{template "panel_before_head.html" . }}
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{lang "panel_debug_head"}}</h1></div>
|
|
</div>
|
|
<div id="panel_debug" class="colstack_grid">
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_uptime_label"}}</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_go_version_label"}}</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_database_version_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Uptime}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.GoVersion}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.DBVersion}}</span></div>
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_open_database_connections_label"}}</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_adapter_label"}}</span></div>
|
|
{{/** TODO: Use this for active database connections when Go 1.11 lands **/}}
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.OpenConns}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.DBAdapter}}</span></div>
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_goroutine_count_label"}}</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_cpu_count_label"}}</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapAlloc</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Goroutines}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.CPUs}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapSys</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapIdle</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapObjects</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}}</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
|
<div class="grid_item grid_stat grid_stat_head"><span>StackInuse</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}}</span></div>
|
|
</div>
|
|
</main>
|
|
</div>
|
|
{{template "footer.html" . }}
|