2022-04-01 02:01:43 +09:00
|
|
|
<div class="item">
|
2024-03-23 04:51:29 +09:00
|
|
|
<div class="tw-flex tw-items-center">
|
2023-02-14 02:59:59 +09:00
|
|
|
<div class="icon gt-ml-3 gt-mr-3">
|
2022-04-01 02:01:43 +09:00
|
|
|
{{if eq .Process.Type "request"}}
|
2022-08-26 06:55:52 +09:00
|
|
|
{{svg "octicon-globe" 16}}
|
2022-04-01 02:01:43 +09:00
|
|
|
{{else if eq .Process.Type "system"}}
|
2022-08-26 06:55:52 +09:00
|
|
|
{{svg "octicon-cpu" 16}}
|
2022-04-01 02:01:43 +09:00
|
|
|
{{else if eq .Process.Type "normal"}}
|
2022-08-26 06:55:52 +09:00
|
|
|
{{svg "octicon-terminal" 16}}
|
2022-04-01 02:01:43 +09:00
|
|
|
{{else}}
|
2022-08-26 06:55:52 +09:00
|
|
|
{{svg "octicon-code" 16}}
|
2022-04-01 02:01:43 +09:00
|
|
|
{{end}}
|
|
|
|
</div>
|
2024-03-22 22:45:10 +09:00
|
|
|
<div class="content tw-flex-1">
|
2022-04-01 02:01:43 +09:00
|
|
|
<div class="header">{{.Process.Description}}</div>
|
2023-09-25 21:42:40 +09:00
|
|
|
<div class="description">{{if ne .Process.Type "none"}}{{TimeSince .Process.Start ctx.Locale}}{{end}}</div>
|
2022-04-01 02:01:43 +09:00
|
|
|
</div>
|
|
|
|
<div>
|
2022-08-26 06:55:52 +09:00
|
|
|
{{if or (eq .Process.Type "request") (eq .Process.Type "normal")}}
|
2022-04-01 02:01:43 +09:00
|
|
|
<a class="delete-button icon" href="" data-url="{{.root.Link}}/cancel/{{.Process.PID}}" data-id="{{.Process.PID}}" data-name="{{.Process.Description}}">{{svg "octicon-trash" 16 "text-red"}}</a>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{if .Process.Stacks}}
|
2023-02-14 02:59:59 +09:00
|
|
|
<div class="divided list gt-ml-3">
|
2022-04-01 02:01:43 +09:00
|
|
|
{{range .Process.Stacks}}
|
|
|
|
<div class="item">
|
|
|
|
<details>
|
|
|
|
<summary>
|
2023-08-26 08:35:10 +09:00
|
|
|
<div class="flex-text-inline">
|
2023-02-14 02:59:59 +09:00
|
|
|
<div class="header gt-ml-3">
|
|
|
|
<span class="icon gt-mr-3">{{svg "octicon-code" 16}}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}}
|
2022-04-01 02:01:43 +09:00
|
|
|
</div>
|
|
|
|
<div class="description">
|
|
|
|
{{range .Labels}}
|
|
|
|
<div class="ui label">{{.Name}}<div class="detail">{{.Value}}</div></div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</summary>
|
|
|
|
<div class="list">
|
|
|
|
{{range .Entry}}
|
2024-03-23 04:51:29 +09:00
|
|
|
<div class="item tw-flex tw-items-center">
|
2023-02-14 02:59:59 +09:00
|
|
|
<span class="icon gt-mr-4">{{svg "octicon-dot-fill" 16}}</span>
|
2024-03-22 22:45:10 +09:00
|
|
|
<div class="content tw-flex-1">
|
2022-04-01 02:01:43 +09:00
|
|
|
<div class="header"><code>{{.Function}}</code></div>
|
|
|
|
<div class="description"><code>{{.File}}:{{.Line}}</code></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</details>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{if .Process.Children}}
|
|
|
|
<div class="divided list">
|
|
|
|
{{range .Process.Children}}
|
|
|
|
{{template "admin/stacktrace-row" dict "Process" . "root" $.root}}
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
</div>
|