2022-04-01 01:01:43 +08:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 06:56:10 +08:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
|
2022-04-01 01:01:43 +08:00
|
|
|
{{template "admin/navbar" .}}
|
|
|
|
<div class="ui container">
|
|
|
|
{{template "base/alert" .}}
|
|
|
|
<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>
|
|
|
|
</div>
|
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>
|
|
|
|
|
|
|
|
{{template "base/footer" .}}
|