diff options
author | silverwind <me@silverwind.io> | 2020-12-05 11:09:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 12:09:09 +0200 |
commit | 61d6c191d5852703048218e047d367f91533c517 (patch) | |
tree | c4c0cbe5c0a8b78b01863313259f963b5274851f /templates | |
parent | 1a768e547c076f21338b84e7cd74a3f967e9156c (diff) | |
download | gitea-61d6c191d5852703048218e047d367f91533c517.tar.gz gitea-61d6c191d5852703048218e047d367f91533c517.zip |
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>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/migrate/migrate.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/repo/migrate/migrate.tmpl b/templates/repo/migrate/migrate.tmpl index 8ada46e1d7..602546148f 100644 --- a/templates/repo/migrate/migrate.tmpl +++ b/templates/repo/migrate/migrate.tmpl @@ -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> |