2020-09-10 03:29:10 +09:00
|
|
|
{{template "base/head" .}}
|
2023-02-02 07:56:10 +09:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
2020-09-10 03:29:10 +09:00
|
|
|
<div class="ui middle very relaxed page grid">
|
|
|
|
<div class="column">
|
2023-01-25 04:01:39 +09:00
|
|
|
{{template "repo/migrate/helper" .}}
|
2023-06-26 18:57:36 +09:00
|
|
|
<div class="ui cards migrate-entries">
|
2020-09-10 03:29:10 +09:00
|
|
|
{{range .Services}}
|
2023-06-26 18:57:36 +09:00
|
|
|
<a class="ui card migrate-entry gt-df gt-ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
2023-05-16 07:46:51 +09: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-10 03:29:10 +09:00
|
|
|
<div class="content">
|
2023-07-08 18:53:56 +09:00
|
|
|
<div class="header gt-text-center">
|
2020-12-05 19:09:09 +09:00
|
|
|
{{.Title}}
|
|
|
|
</div>
|
2023-07-08 18:53:56 +09:00
|
|
|
<div class="description gt-text-center">
|
2023-09-25 17:56:50 +09:00
|
|
|
{{(printf "repo.migrate.%s.description" .Name) | ctx.Locale.Tr}}
|
2020-09-10 03:29:10 +09:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-05 19:09:09 +09:00
|
|
|
</a>
|
2020-09-10 03:29:10 +09:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|