forked from mirror/gitea
61d6c191d5
- 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>
24 lines
686 B
Go HTML Template
24 lines
686 B
Go HTML Template
{{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" .}}
|