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