home.tmpl 6.0 KB

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