2022-03-31 20:01:43 +03:00
<div class="item">
2024-03-22 22:51:29 +03:00
<div class="tw-flex tw-items-center">
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<div class="icon tw-ml-2 tw-mr-2">
2022-03-31 20:01:43 +03:00
{{ if eq .Process .Type "request" }}
2022-08-26 00:55:52 +03:00
{{ svg "octicon-globe" 1 6 }}
2022-03-31 20:01:43 +03:00
{{ else if eq .Process .Type "system" }}
2022-08-26 00:55:52 +03:00
{{ svg "octicon-cpu" 1 6 }}
2022-03-31 20:01:43 +03:00
{{ else if eq .Process .Type "normal" }}
2022-08-26 00:55:52 +03:00
{{ svg "octicon-terminal" 1 6 }}
2022-03-31 20:01:43 +03:00
{{ else }}
2022-08-26 00:55:52 +03:00
{{ svg "octicon-code" 1 6 }}
2022-03-31 20:01:43 +03:00
{{ end }}
</div>
2024-03-22 16:45:10 +03:00
<div class="content tw-flex-1">
2022-03-31 20:01:43 +03:00
<div class="header"> {{ .Process .Description }} </div>
2023-09-25 15:42:40 +03:00
<div class="description"> {{ if ne .Process .Type "none" }} {{ TimeSince .Process .Start ctx .Locale }} {{ end }} </div>
2022-03-31 20:01:43 +03:00
</div>
<div>
2022-08-26 00:55:52 +03:00
{{ if or ( eq .Process .Type "request" ) ( eq .Process .Type "normal" ) }}
2022-03-31 20:01:43 +03: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" 1 6 "text-red" }} </a>
{{ end }}
</div>
</div>
{{ if .Process .Stacks }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<div class="divided list tw-ml-2">
2022-03-31 20:01:43 +03:00
{{ range .Process .Stacks }}
<div class="item">
<details>
<summary>
2023-08-26 02:35:10 +03:00
<div class="flex-text-inline">
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<div class="header tw-ml-2">
<span class="icon tw-mr-2"> {{ svg "octicon-code" 1 6 }} </span> {{ .Description }} {{ if gt .Count 1 }} * {{ .Count }} {{ end }}
2022-03-31 20:01:43 +03: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-22 22:51:29 +03:00
<div class="item tw-flex tw-items-center">
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
2024-03-24 19:42:49 +03:00
<span class="icon tw-mr-4"> {{ svg "octicon-dot-fill" 1 6 }} </span>
2024-03-22 16:45:10 +03:00
<div class="content tw-flex-1">
2022-03-31 20:01:43 +03: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>