1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-14 11:48:09 -05:00
forgejo/templates/repo/migrate/migrate.tmpl
silverwind 61d6c191d5
Improve migrate page and add card CSS (#13751)
- Use original gitea logo on migrate page
- Add card styles and map colors to css vars
- Tweak migrate page, adding hover effect to cards

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2020-12-05 12:09:09 +02:00

23 lines
686 B
Handlebars

{{template "base/head" .}}
<div class="page-content repository new migrate">
<div class="ui middle very relaxed page grid">
<div class="column">
<div class="ui three stackable cards">
{{range .Services}}
<a class="ui card df ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
{{svg (Printf "gitea-%s" .Name) 184}}
<div class="content">
<div class="header tc">
{{.Title}}
</div>
<div class="description tc">
{{(Printf "repo.migrate.%s.description" .Name) | $.i18n.Tr }}
</div>
</div>
</a>
{{end}}
</div>
</div>
</div>
</div>
{{template "base/footer" .}}