mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
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>
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
<div class="column">
|
||||
<div class="ui three stackable cards">
|
||||
{{range .Services}}
|
||||
<div class="ui card">
|
||||
<a class="image" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
||||
{{svg (Printf "gitea-%s" .Name) 184}}
|
||||
</a>
|
||||
<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">
|
||||
<a class="header" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">{{.Title}}</a>
|
||||
<div class="description">
|
||||
<div class="header tc">
|
||||
{{.Title}}
|
||||
</div>
|
||||
<div class="description tc">
|
||||
{{(Printf "repo.migrate.%s.description" .Name) | $.i18n.Tr }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user