You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
6.0 KiB

10 years ago
  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. <div id="promo-wrapper">
  4. <div class="container clear">
  5. <div id="promo-logo" class="left">
  6. <img src="{{AppSubUrl}}/img/gogs-lg.png" alt="logo" />
  7. </div>
  8. <div id="promo-content">
  9. <h1>Gogs</h1>
  10. <h2>{{.i18n.Tr "app_desc"}}</h2>
  11. <form id="promo-form" action="{{AppSubUrl}}/user/login" method="post">
  12. {{.CsrfTokenHtml}}
  13. <input class="ipt ipt-large" id="username" name="uname" type="text" placeholder="{{.i18n.Tr "home.uname_holder"}}"/>
  14. <input class="ipt ipt-large" name="password" type="password" placeholder="{{.i18n.Tr "home.password_holder"}}"/>
  15. <input name="from" type="hidden" value="home">
  16. <button class="btn btn-black btn-large">{{.i18n.Tr "sign_in"}}</button>
  17. {{if .ShowRegistrationButton}}
  18. <button class="btn btn-green btn-large" id="register-button">{{.i18n.Tr "register"}}</button>
  19. {{end}}
  20. </form>
  21. <div id="promo-social" class="social-buttons">
  22. {{template "ng/base/social" .}}
  23. </div>
  24. </div>&nbsp;
  25. </div>
  26. </div>
  27. <div id="feature-wrapper">
  28. <div class="container clear">
  29. {{if eq .Lang "de-DE"}}
  30. <div class="grid-1-2 left">
  31. <i class="octicon octicon-flame"></i>
  32. <b>Einfach zu installieren</b>
  33. <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>
  34. </div>
  35. <div class="grid-1-2 left">
  36. <i class="octicon octicon-device-desktop"></i>
  37. <b>Plattformübergreifend</b>
  38. <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>
  39. </div>
  40. <div class="grid-1-2 left">
  41. <i class="octicon octicon-rocket"></i>
  42. <b>Leichtgewicht</b>
  43. <p>Gogs hat minimale Systemanforderungen und kann selbst auf einem günstigen und stromsparenden Raspberry Pi betrieben werden.</p>
  44. </div>
  45. <div class="grid-1-2 left">
  46. <i class="octicon octicon-code"></i>
  47. <b>Quelloffen</b>
  48. <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>
  49. </div>
  50. {{else if eq .Lang "zh-CN"}}
  51. <div class="grid-1-2 left">
  52. <i class="octicon octicon-flame"></i>
  53. <b>易安装</b>
  54. <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>
  55. </div>
  56. <div class="grid-1-2 left">
  57. <i class="octicon octicon-device-desktop"></i>
  58. <b>跨平台</b>
  59. <p>任何 <a target="_blank" href="http://golang.org/">Go 语言</a> 支持的平台都可以运行 Gogs,包括 Windows、Mac、Linux 以及 ARM。挑一个您喜欢的就行!</p>
  60. </div>
  61. <div class="grid-1-2 left">
  62. <i class="octicon octicon-rocket"></i>
  63. <b>轻量级</b>
  64. <p>一个廉价的树莓派的配置足以满足 Gogs 的最低系统硬件要求。最大程度上节省您的服务器资源!</p>
  65. </div>
  66. <div class="grid-1-2 left">
  67. <i class="octicon octicon-code"></i>
  68. <b>开源化</b>
  69. <p>所有的代码都开源在 <a target="_blank" href="https://github.com/gogits/gogs/">GitHub</a> 上,赶快加入我们来共同发展这个伟大的项目!还等什么?成为贡献者吧!</p>
  70. </div>
  71. {{else}}
  72. <div class="grid-1-2 left">
  73. <i class="octicon octicon-flame"></i>
  74. <b>Easy to install</b>
  75. <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>
  76. </div>
  77. <div class="grid-1-2 left">
  78. <i class="octicon octicon-device-desktop"></i>
  79. <b>Cross-platform</b>
  80. <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>
  81. </div>
  82. <div class="grid-1-2 left">
  83. <i class="octicon octicon-rocket"></i>
  84. <b>Lightweight</b>
  85. <p>Gogs has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy!</p>
  86. </div>
  87. <div class="grid-1-2 left">
  88. <i class="octicon octicon-code"></i>
  89. <b>Open Source</b>
  90. <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>
  91. </div>
  92. {{end}}
  93. </div>
  94. </div>
  95. {{template "ng/base/footer" .}}