mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 23:49:23 +00:00
a7e18b9fb7
Diff without whitespace: https://github.com/go-gitea/gitea/pull/24740/files?diff=unified&w=1 - Use SVGs for GitHub and GitLab oauth providers - Replace section wrapping with a divider - Rework icon rendering, increase size from 32px to 40px Before: <img width="853" alt="Screenshot 2023-05-15 at 21 54 23" src="https://github.com/go-gitea/gitea/assets/115237/6ab5cfb4-46ff-469a-bd1f-06780d4a6a0b"> After (more providers): <img width="849" alt="Screenshot 2023-05-15 at 21 51 21" src="https://github.com/go-gitea/gitea/assets/115237/fa84f92f-98e0-4aed-9357-5d62ddd98195"> <img width="856" alt="Screenshot 2023-05-15 at 21 56 45" src="https://github.com/go-gitea/gitea/assets/115237/d3edd7ed-dadd-4302-aca7-08f20adc220e"> Ref: https://codeberg.org/Codeberg/Community/issues/1023 --------- Co-authored-by: Giteabot <teabot@gitea.io>
33 lines
1 KiB
Handlebars
33 lines
1 KiB
Handlebars
{{template "base/head" .}}
|
|
<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate">
|
|
<div class="ui middle very relaxed page grid">
|
|
<div class="column">
|
|
{{template "repo/migrate/helper" .}}
|
|
<div class="ui 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" .}}
|