f43e9fc4fd
- Add `stackable` to `very relaxed` pages, such they don't take extra margins from the space. - Add margin bottom to the user item in the navbar, so it doesn't look like crammed. - Make the migrate page usable, by reducing three to two cards in a row and making the icon smaller. Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/812
32 lines
1 KiB
Handlebars
32 lines
1 KiB
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="column">
|
|
{{template "repo/migrate/helper" .}}
|
|
<div class="ui two-mobile three stackable cards">
|
|
{{range .Services}}
|
|
<a class="ui card gt-df gt-ac" href="{{AppSubUrl}}/repo/migrate?service_type={{.}}&org={{$.Org}}&mirror={{$.Mirror}}">
|
|
{{if eq .Name "github"}}
|
|
{{svg "octicon-mark-github" 184 "gt-p-4"}}
|
|
{{else if eq .Name "gitlab"}}
|
|
{{svg "gitea-gitlab" 184 "gt-p-4"}}
|
|
{{else if eq .Name "gitbucket"}}
|
|
{{svg "gitea-gitbucket" 184 "gt-p-4"}}
|
|
{{else}}
|
|
{{svg (printf "gitea-%s" .Name) 184}}
|
|
{{end}}
|
|
<div class="content">
|
|
<div class="header gt-tc">
|
|
{{.Title}}
|
|
</div>
|
|
<div class="description gt-tc">
|
|
{{(printf "repo.migrate.%s.description" .Name) | $.locale.Tr}}
|
|
</div>
|
|
</div>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|