2023-04-23 06:21:21 -04:00
|
|
|
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}}
|
|
|
|
<div class="admin-setting-content">
|
2022-03-31 13:01:43 -04:00
|
|
|
<h4 class="ui top attached header">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "admin.monitor.stacktrace"}}: {{.locale.Tr "admin.monitor.goroutines" .GoroutineCount}}
|
2022-03-31 13:01:43 -04:00
|
|
|
<div class="ui right">
|
2022-06-27 16:58:46 -04:00
|
|
|
<a class="ui primary tiny button" href="{{AppSubUrl}}/admin/monitor">{{.locale.Tr "admin.monitor"}}</a>
|
2022-03-31 13:01:43 -04:00
|
|
|
</div>
|
|
|
|
</h4>
|
|
|
|
<div class="ui attached segment">
|
|
|
|
<div class="ui relaxed divided list">
|
|
|
|
{{range .ProcessStacks}}
|
|
|
|
{{template "admin/stacktrace-row" dict "Process" . "root" $}}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-04-23 06:21:21 -04:00
|
|
|
|
2023-04-23 05:24:19 -04:00
|
|
|
<div class="ui gitea-confirm-modal delete modal">
|
|
|
|
<div class="header">
|
2022-06-27 16:58:46 -04:00
|
|
|
{{.locale.Tr "admin.monitor.process.cancel"}}
|
2022-03-31 13:01:43 -04:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
2022-06-27 16:58:46 -04:00
|
|
|
<p>{{$.locale.Tr "admin.monitor.process.cancel_notices" `<span class="name"></span>` | Safe}}</p>
|
|
|
|
<p>{{$.locale.Tr "admin.monitor.process.cancel_desc"}}</p>
|
2022-03-31 13:01:43 -04:00
|
|
|
</div>
|
2023-04-23 05:24:19 -04:00
|
|
|
{{template "base/modal_actions_confirm" .}}
|
2022-03-31 13:01:43 -04:00
|
|
|
</div>
|
|
|
|
|
2023-04-23 06:21:21 -04:00
|
|
|
{{template "admin/layout_footer" .}}
|