2020-09-09 23:59:10 +05:30
|
|
|
{{template "base/head" .}}
|
2023-02-02 04:26:10 +05:30
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
2020-09-09 23:59:10 +05:30
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2023-01-25 00:31:39 +05:30
|
|
|
{{template "repo/migrate/helper" .}}
|
2023-06-26 15:27:36 +05:30
|
|
|
<div class="ui cards migrate-entries">
|
2020-09-09 23:59:10 +05:30
|
|
|
{{range .Services}}
|
2024-03-22 19:15:10 +05:30
|
|
|
<a class="ui card migrate-entry tw-flex tw-content-center" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
2023-05-16 04:16:51 +05:30
|
|
|
{{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 23:59:10 +05:30
|
|
|
<div class="content">
|
2024-03-04 09:03:20 +05:30
|
|
|
<div class="header tw-text-center">
|
2020-12-05 15:39:09 +05:30
|
|
|
{{.Title}}
|
|
|
|
</div>
|
2024-03-04 09:03:20 +05:30
|
|
|
<div class="description tw-text-center">
|
2024-02-25 16:15:56 +05:30
|
|
|
{{ctx.Locale.Tr (printf "repo.migrate.%s.description" .Name)}}
|
2020-09-09 23:59:10 +05:30
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-05 15:39:09 +05:30
|
|
|
</a>
|
2020-09-09 23:59:10 +05:30
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|