2022-03-31 18:01:43 +01:00
< div class = "item" >
2024-03-22 20:51:29 +01: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}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "icon tw-ml-2 tw-mr-2" >
2022-03-31 18:01:43 +01:00
{{ if eq .Process.Type "request" }}
2022-08-25 23:55:52 +02:00
{{ svg "octicon-globe" 16 }}
2022-03-31 18:01:43 +01:00
{{ else if eq .Process.Type "system" }}
2022-08-25 23:55:52 +02:00
{{ svg "octicon-cpu" 16 }}
2022-03-31 18:01:43 +01:00
{{ else if eq .Process.Type "normal" }}
2022-08-25 23:55:52 +02:00
{{ svg "octicon-terminal" 16 }}
2022-03-31 18:01:43 +01:00
{{ else }}
2022-08-25 23:55:52 +02:00
{{ svg "octicon-code" 16 }}
2022-03-31 18:01:43 +01:00
{{ end }}
< / div >
2024-03-22 14:45:10 +01:00
< div class = "content tw-flex-1" >
2022-03-31 18:01:43 +01:00
< div class = "header" > {{ .Process.Description }} </ div >
2024-11-04 19:30:00 +08:00
< div class = "description" > {{ if ne .Process.Type "none" }}{{ DateUtils .TimeSince .Process.Start }}{{ end }} </ div >
2022-03-31 18:01:43 +01:00
< / div >
< div >
2022-08-25 23:55:52 +02:00
{{ if or ( eq .Process.Type "request" ) ( eq .Process.Type "normal" ) }}
2022-03-31 18:01:43 +01: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 }}
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}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "divided list tw-ml-2" >
2022-03-31 18:01:43 +01:00
{{ range .Process.Stacks }}
< div class = "item" >
< details >
< summary >
2023-08-26 07:35:10 +08: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}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "header tw-ml-2" >
< span class = "icon tw-mr-2" > {{ svg "octicon-code" 16 }} </ span > {{ .Description }}{{ if gt .Count 1 }} * {{ .Count }}{{ end }}
2022-03-31 18:01:43 +01: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 20:51:29 +01: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}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< span class = "icon tw-mr-4" > {{ svg "octicon-dot-fill" 16 }} </ span >
2024-03-22 14:45:10 +01:00
< div class = "content tw-flex-1" >
2022-03-31 18:01:43 +01: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 >