2020-09-09 18:29:10 +00:00
|
|
|
{{template "base/head" .}}
|
2023-02-01 22:56:10 +00:00
|
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
2023-06-06 19:14:26 +00:00
|
|
|
<div class="ui stackable middle very relaxed page grid">
|
2020-09-09 18:29:10 +00:00
|
|
|
<div class="column">
|
2023-01-24 19:01:39 +00:00
|
|
|
{{template "repo/migrate/helper" .}}
|
2023-06-06 19:14:26 +00:00
|
|
|
<div class="ui two-mobile three stackable cards">
|
2020-09-09 18:29:10 +00:00
|
|
|
{{range .Services}}
|
2023-02-13 17:59:59 +00:00
|
|
|
<a class="ui card gt-df gt-ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
2023-05-15 22:46:51 +00: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 18:29:10 +00:00
|
|
|
<div class="content">
|
2023-02-13 17:59:59 +00:00
|
|
|
<div class="header gt-tc">
|
2020-12-05 10:09:09 +00:00
|
|
|
{{.Title}}
|
|
|
|
</div>
|
2023-02-13 17:59:59 +00:00
|
|
|
<div class="description gt-tc">
|
2023-04-08 13:15:22 +00:00
|
|
|
{{(printf "repo.migrate.%s.description" .Name) | $.locale.Tr}}
|
2020-09-09 18:29:10 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-12-05 10:09:09 +00:00
|
|
|
</a>
|
2020-09-09 18:29:10 +00:00
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "base/footer" .}}
|