0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 17:32:45 +01:00
gitea/templates/home.tmpl

95 lines
6 KiB
Cheetah
Raw Normal View History

{{template "ng/base/head" .}}
2014-08-10 06:02:00 +02:00
{{template "ng/base/header" .}}
2014-07-26 06:24:27 +02:00
<div id="promo-wrapper">
<div class="container clear">
<div id="promo-logo" class="left">
2014-09-20 02:11:34 +02:00
<img src="{{AppSubUrl}}/img/gogs-lg.png" alt="logo" />
2014-07-26 06:24:27 +02:00
</div>
<div id="promo-content">
<h1>Gogs</h1>
<h2>{{.i18n.Tr "app_desc"}}</h2>
2014-09-20 02:11:34 +02:00
<form id="promo-form" action="{{AppSubUrl}}/user/login" method="post">
2014-07-26 06:24:27 +02:00
{{.CsrfTokenHtml}}
2014-08-27 10:39:36 +02:00
<input class="ipt ipt-large" id="username" name="uname" type="text" placeholder="{{.i18n.Tr "home.uname_holder"}}"/>
<input class="ipt ipt-large" name="password" type="password" placeholder="{{.i18n.Tr "home.password_holder"}}"/>
2014-07-26 06:24:27 +02:00
<input name="from" type="hidden" value="home">
<button class="btn btn-black btn-large">{{.i18n.Tr "sign_in"}}</button>
{{if .ShowRegistrationButton}}
2014-07-26 06:24:27 +02:00
<button class="btn btn-green btn-large" id="register-button">{{.i18n.Tr "register"}}</button>
{{end}}
2014-07-26 06:24:27 +02:00
</form>
<div id="promo-social" class="social-buttons">
{{template "ng/base/social" .}}
</div>
</div>&nbsp;
2014-04-14 10:11:33 +02:00
</div>
2014-02-18 00:38:50 +01:00
</div>
2014-07-26 06:24:27 +02:00
<div id="feature-wrapper">
<div class="container clear">
2014-10-04 21:33:32 +02:00
{{if eq .Lang "de-DE"}}
<div class="grid-1-2 left">
<i class="octicon octicon-flame"></i>
<b>Einfach zu installieren</b>
2015-02-01 20:30:22 +01:00
<p>Starte einfach <a target="_blank" href="http://gogs.io/docs/installation/install_from_binary.html">die Anwendung</a> für deine Plattform. Gogs gibt es auch für <a target="_blank" href="https://github.com/gogits/gogs/tree/master/docker">Docker</a>, <a target="_blank" href="https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs">Vagrant</a> oder als <a target="_blank" href="http://gogs.io/docs/installation/install_from_packages.html">Installationspaket</a>.</p>
2014-10-04 21:33:32 +02:00
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-device-desktop"></i>
<b>Plattformübergreifend</b>
<p>Gogs läuft überall. <a target="_blank" href="http://golang.org/">Go</a> kompiliert für: Windows, Mac OS X, Linux, ARM, etc. Wähle dasjenige System, was dir am meisten gefällt!</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-rocket"></i>
<b>Leichtgewicht</b>
<p>Gogs hat minimale Systemanforderungen und kann selbst auf einem günstigen und stromsparenden Raspberry Pi betrieben werden.</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-code"></i>
<b>Quelloffen</b>
<p>Der komplette Code befindet sich auf <a target="_blank" href="https://github.com/gogits/gogs/">GitHub</a>! Unterstütze uns bei der Verbesserung dieses Projekts. Trau dich!</p>
</div>
{{else if eq .Lang "zh-CN"}}
2014-07-26 06:24:27 +02:00
<div class="grid-1-2 left">
<i class="octicon octicon-flame"></i>
<b>易安装</b>
2015-02-01 20:30:22 +01:00
<p>您除了可以根据操作系统平台通过 <a target="_blank" href="http://gogs.io/docs/installation/install_from_binary.html">二进制运行</a>,还可以通过 <a target="_blank" href="https://github.com/gogits/gogs/tree/master/docker">Docker</a> 或 <a target="_blank" href="https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs">Vagrant</a>,以及 <a target="_blank" href="http://gogs.io/docs/installation/install_from_packages.html">包管理</a> 安装。</p>
2014-07-26 06:24:27 +02:00
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-device-desktop"></i>
<b>跨平台</b>
<p>任何 <a target="_blank" href="http://golang.org/">Go 语言</a> 支持的平台都可以运行 Gogs包括 Windows、Mac、Linux 以及 ARM。挑一个您喜欢的就行</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-rocket"></i>
<b>轻量级</b>
<p>一个廉价的树莓派的配置足以满足 Gogs 的最低系统硬件要求。最大程度上节省您的服务器资源!</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-code"></i>
<b>开源化</b>
<p>所有的代码都开源在 <a target="_blank" href="https://github.com/gogits/gogs/">GitHub</a> 上,赶快加入我们来共同发展这个伟大的项目!还等什么?成为贡献者吧!</p>
</div>
{{else}}
<div class="grid-1-2 left">
<i class="octicon octicon-flame"></i>
<b>Easy to install</b>
2015-02-01 20:30:22 +01:00
<p>Simply <a target="_blank" href="http://gogs.io/docs/installation/install_from_binary.html">run the binary</a> for your platform. Or ship Gogs with <a target="_blank" href="https://github.com/gogits/gogs/tree/master/docker">Docker</a> or <a target="_blank" href="https://github.com/geerlingguy/ansible-vagrant-examples/tree/master/gogs">Vagrant</a>, or get it <a target="_blank" href="http://gogs.io/docs/installation/install_from_packages.html">packaged</a>.</p>
2014-07-26 06:24:27 +02:00
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-device-desktop"></i>
<b>Cross-platform</b>
<p>Gogs runs anywhere <a target="_blank" href="http://golang.org/">Go</a> can compile for: Windows, Mac OS X, Linux, ARM, etc. Choose the one you love!</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-rocket"></i>
<b>Lightweight</b>
<p>Gogs has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy!</p>
</div>
<div class="grid-1-2 left">
<i class="octicon octicon-code"></i>
<b>Open Source</b>
<p>It's all on <a target="_blank" href="https://github.com/gogits/gogs/">GitHub</a>! Join us by contributing to make this project even better. Don't be shy to be a contributor!</p>
</div>
{{end}}
</div>
</div>
{{template "ng/base/footer" .}}