mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 09:03:54 +08:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
54 lines
1.5 KiB
Handlebars
54 lines
1.5 KiB
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content home">
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="sixteen wide center aligned centered column">
|
|
<div>
|
|
<img class="logo" src="{{StaticUrlPrefix}}/img/gitea-lg.png" />
|
|
</div>
|
|
<div class="hero">
|
|
<h1 class="ui icon header title">
|
|
{{AppName}}
|
|
</h1>
|
|
<h2>{{.i18n.Tr "startpage.app_desc"}}</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
{{svg "octicon-flame"}} {{.i18n.Tr "startpage.install"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.install_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
{{svg "octicon-device-desktop"}} {{.i18n.Tr "startpage.platform"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.platform_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="ui stackable middle very relaxed page grid">
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
{{svg "octicon-rocket"}} {{.i18n.Tr "startpage.lightweight"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.lightweight_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
<div class="eight wide center column">
|
|
<h1 class="hero ui icon header">
|
|
{{svg "octicon-code"}} {{.i18n.Tr "startpage.license"}}
|
|
</h1>
|
|
<p class="large">
|
|
{{.i18n.Tr "startpage.license_desc" | Str2html}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|