aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/stacktrace.tmpl
blob: 91929deaa88847b1a908832c8880ab9e13be0b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{{template "base/head" .}}
<div class="page-content admin monitor">
	{{template "admin/navbar" .}}
	<div class="ui container">
		{{template "base/alert" .}}
		<h4 class="ui top attached header">
			{{.locale.Tr "admin.monitor.stacktrace"}}: {{.locale.Tr "admin.monitor.goroutines" .GoroutineCount}}
			<div class="ui right">
				<a class="ui primary tiny button" href="{{AppSubUrl}}/admin/monitor">{{.locale.Tr "admin.monitor"}}</a>
			</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>
<div class="ui small basic delete modal">
	<div class="ui icon header">
		{{svg "octicon-x" 16 "close inside"}}
		{{.locale.Tr "admin.monitor.process.cancel"}}
	</div>
	<div class="content">
		<p>{{$.locale.Tr "admin.monitor.process.cancel_notices" `<span class="name"></span>` | Safe}}</p>
		<p>{{$.locale.Tr "admin.monitor.process.cancel_desc"}}</p>
	</div>
	{{template "base/delete_modal_actions" .}}
</div>

{{template "base/footer" .}}