mirror of
https://github.com/go-gitea/gitea
synced 2025-07-28 05:08:37 +00:00
Add a migrate service type switch page (#12697)
* Add a migrat service type switch page * Improve translations * remove images * Fix images * remove extra create repo button on dashboard * Follow reviewers' opinions * Fix frontend lint * Remove wrong submit file * Fix tests * Adjust the size of image * Apply suggestions from code review Co-authored-by: 赵智超 <1012112796@qq.com> * Remove username and password from migration of github/gitlab * Improve docs * Improve interface docs Co-authored-by: 赵智超 <1012112796@qq.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
23
templates/repo/migrate/migrate.tmpl
Normal file
23
templates/repo/migrate/migrate.tmpl
Normal file
@@ -0,0 +1,23 @@
|
||||
{{template "base/head" .}}
|
||||
<div class="repository new migrate">
|
||||
<div class="ui middle very relaxed page grid">
|
||||
<div class="column">
|
||||
<div class="ui three stackable cards">
|
||||
{{range .Services}}
|
||||
<div class="ui card">
|
||||
<a class="image" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}">
|
||||
{{svg (Printf "gitea-%s" .Name) 184}}
|
||||
</a>
|
||||
<div class="content">
|
||||
<a class="header" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}">{{.Title}}</a>
|
||||
<div class="description">
|
||||
{{(Printf "repo.migrate.%s.description" .Name) | $.i18n.Tr }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Reference in New Issue
Block a user