2020-09-10 02:29:10 +08:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 06:56:10 +08:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
2020-09-10 02:29:10 +08:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2023-01-25 03:01:39 +08:00
|
|
|
{{template "repo/migrate/helper" .}}
|
2023-06-26 17:57:36 +08:00
|
|
|
<div class="ui cards migrate-entries">
|
2020-09-10 02:29:10 +08:00
|
|
|
{{range .Services}}
|
2024-03-23 03:51:29 +08:00
|
|
|
<a class="ui card migrate-entry tw-flex tw-items-center" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
2023-05-16 06:46:51 +08:00
|
|
|
{{if eq .Name "github"}}
|
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-25 00:42:49 +08:00
|
|
|
{{svg "octicon-mark-github" 184 "tw-p-4"}}
|
2023-05-16 06:46:51 +08:00
|
|
|
{{else if eq .Name "gitlab"}}
|
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-25 00:42:49 +08:00
|
|
|
{{svg "gitea-gitlab" 184 "tw-p-4"}}
|
2023-05-16 06:46:51 +08:00
|
|
|
{{else if eq .Name "gitbucket"}}
|
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-25 00:42:49 +08:00
|
|
|
{{svg "gitea-gitbucket" 184 "tw-p-4"}}
|
2023-05-16 06:46:51 +08:00
|
|
|
{{else}}
|
|
|
|
{{svg (printf "gitea-%s" .Name) 184}}
|
|
|
|
{{end}}
|
2020-09-10 02:29:10 +08:00
|
|
|
<div class="content">
|
2024-03-04 11:33:20 +08:00
|
|
|
<div class="header tw-text-center">
|
2020-12-05 18:09:09 +08:00
|
|
|
{{.Title}}
|
|
|
|
</div>
|
2024-03-04 11:33:20 +08:00
|
|
|
<div class="description tw-text-center">
|
2024-02-25 18:45:56 +08:00
|
|
|
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
2020-09-10 02:29:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-05 18:09:09 +08:00
|
|
|
</a>
|
2020-09-10 02:29:10 +08:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|