2023-04-23 18:21:21 +08:00
|
|
|
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}}
|
|
|
|
<div class="admin-setting-content">
|
2022-04-01 01:01:43 +08:00
|
|
|
<h4 class="ui top attached header">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "admin.monitor.stacktrace"}}: {{.locale.Tr "admin.monitor.goroutines" .GoroutineCount}}
|
2022-04-01 01:01:43 +08:00
|
|
|
<div class="ui right">
|
2022-06-28 04:58:46 +08:00
|
|
|
<a class="ui primary tiny button" href="{{AppSubUrl}}/admin/monitor">{{.locale.Tr "admin.monitor"}}</a>
|
2022-04-01 01:01:43 +08: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 18:21:21 +08:00
|
|
|
|
2023-04-23 17:24:19 +08:00
|
|
|
<div class="ui gitea-confirm-modal delete modal">
|
|
|
|
<div class="header">
|
2022-06-28 04:58:46 +08:00
|
|
|
{{.locale.Tr "admin.monitor.process.cancel"}}
|
2022-04-01 01:01:43 +08:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
2022-06-28 04:58:46 +08: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-04-01 01:01:43 +08:00
|
|
|
</div>
|
2023-04-23 17:24:19 +08:00
|
|
|
{{template "base/modal_actions_confirm" .}}
|
2022-04-01 01:01:43 +08:00
|
|
|
</div>
|
|
|
|
|
2023-04-23 18:21:21 +08:00
|
|
|
{{template "admin/layout_footer" .}}
|