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