diff options
author | Unknwon <u@gogs.io> | 2015-03-07 15:12:13 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-03-07 15:12:13 -0500 |
commit | 4b9fb43a708d0aaaf710a060f7b2dd0b7ad959d0 (patch) | |
tree | 85fce83baa4692765f5014aad0d6b0f469f829fe /templates | |
parent | 5e763baa12e346f8eb577073399068802fa5d67a (diff) | |
download | gitea-4b9fb43a708d0aaaf710a060f7b2dd0b7ad959d0.tar.gz gitea-4b9fb43a708d0aaaf710a060f7b2dd0b7ad959d0.zip |
home: new UI
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/footer.tmpl | 64 | ||||
-rw-r--r-- | templates/base/footer_old.tmpl | 32 | ||||
-rw-r--r-- | templates/base/head.tmpl | 87 | ||||
-rw-r--r-- | templates/base/head_old.tmpl | 41 | ||||
-rw-r--r-- | templates/home.tmpl | 223 |
5 files changed, 289 insertions, 158 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index aed5f488d2..66a15ece20 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -1,32 +1,36 @@ -<div class="wrapper-push"></div> -</div> -<footer id="footer"> - <div class="container footer-wrap"> - <div class="row"> - <div class="col-md-6"> - <p>© 2014 GoGits · Version: {{AppVer}} · - Page: <b>{{LoadTimes .PageStartTime}}</b> · - Template: <b>{{call .TmplLoadTimes}}</b> - </p> - </div> - - <div class="col-md-2" style="margin: -5px;"> - <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github fa-2x"></i></a> - </div> - - <div class="col-md-4"> - <p class="desc"> - <a href="http://gogs.io">Official Website</a> - </p> - </div> - </div> - - <div class="row"> - <div class="col-md-6"> - Go Version: {{GoVer}} - </div> - </div> - </div> -</footer> + </div> + <footer class="ui page grid"> + <div class="sixteen wide column"> + <div class="ui left"> + © 2015 Gogs · {{.i18n.Tr "version"}}: {{AppVer}} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> · {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong> + </div> + <div class="ui right links"> + <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i></a> + <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i></a> + <a target="_blank" href="https://plus.google.com/communities/115599856376145964459"><i class="fa fa-google-plus"></i></a> + <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i></a> + <!-- <div id="footer-lang" class="inline drop drop-top">{{.i18n.Tr "language"}} + <div class="drop-down"> + <ul class="menu menu-vertical switching-list"> + {{range .AllLangs}} + <li><a href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a></li> + {{end}} + </ul> + </div> + </div> --> + <div class="ui language bottom pointing dropdown link item"> + <i class="world icon"></i> + <div class="text">{{.LangName}}</div> + <div class="menu"> + {{range .AllLangs}} + <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a> + {{end}} + </div> + </div> + <a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a> + <span class="version">{{GoVer}}</span> + </div> + </div> + </footer> </body> </html>
\ No newline at end of file diff --git a/templates/base/footer_old.tmpl b/templates/base/footer_old.tmpl new file mode 100644 index 0000000000..aed5f488d2 --- /dev/null +++ b/templates/base/footer_old.tmpl @@ -0,0 +1,32 @@ +<div class="wrapper-push"></div> +</div> +<footer id="footer"> + <div class="container footer-wrap"> + <div class="row"> + <div class="col-md-6"> + <p>© 2014 GoGits · Version: {{AppVer}} · + Page: <b>{{LoadTimes .PageStartTime}}</b> · + Template: <b>{{call .TmplLoadTimes}}</b> + </p> + </div> + + <div class="col-md-2" style="margin: -5px;"> + <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github fa-2x"></i></a> + </div> + + <div class="col-md-4"> + <p class="desc"> + <a href="http://gogs.io">Official Website</a> + </p> + </div> + </div> + + <div class="row"> + <div class="col-md-6"> + Go Version: {{GoVer}} + </div> + </div> + </div> +</footer> +</body> +</html>
\ No newline at end of file diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index cb3951ea2c..ef6ad56a6c 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -1,41 +1,60 @@ <!DOCTYPE html> <html> - <head{{if AppSubUrl}} data-suburl="{{AppSubUrl}}"{{end}}> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" /> - <meta http-equiv="X-UA-Compatible" content="IE=edge"/> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> - <meta name="author" content="Gogs - Go Git Service" /> - <meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" /> - <meta name="keywords" content="go, git"> - <meta name="_csrf" content="{{.CsrfToken}}" /> - {{if .GoGetImport}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}} +<head data-suburl="{{AppSubUrl}}"> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="author" content="Gogs - Go Git Service" /> + <meta name="description" content="Gogs(Go Git Service) a painless self-hosted Git Service written in Go" /> + <meta name="keywords" content="go, git, self-hosted, gogs"> + <meta name="_csrf" content="{{.CsrfToken}}" /> + {{if .GoGetImport}} + <meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}"> + {{end}} - <!-- Stylesheets --> - {{if CdnMode}} - <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> - <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> + <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" /> - <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> - <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> - {{else}} - <link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" /> - <link href="{{AppSubUrl}}/css/font-awesome.min.css" rel="stylesheet" /> + {{if CdnMode}} + <script src="//code.jquery.com/jquery-1.11.2.min.js"></script> + <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> + {{else}} + <script src="{{AppSubUrl}}/js/jquery-1.11.2.min.js"></script> + <link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css"> + {{end}} - <script src="{{AppSubUrl}}/js/jquery-1.10.1.min.js"></script> - <script src="{{AppSubUrl}}/js/bootstrap.min.js"></script> - {{end}} + <!-- Stylesheet --> + <link rel="stylesheet" href="{{AppSubUrl}}/css/semantic.min.css"> + <link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.min.css"> - <link href="{{AppSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" /> - <link href="{{AppSubUrl}}/css/datepicker3.css" rel="stylesheet" /> - <link href="{{AppSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" /> - <link href="{{AppSubUrl}}/css/markdown.css" rel="stylesheet" /> - <link href="{{AppSubUrl}}/css/gogs.css" rel="stylesheet" /> + <!-- JavaScript --> + <script src="{{AppSubUrl}}/js/semantic.min.js"></script> + <script src="{{AppSubUrl}}/js/gogs.js"></script> - <script src="{{AppSubUrl}}/js/lib.js"></script> - <script src="{{AppSubUrl}}/js/app.js"></script> - <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> - </head> - <body> - <div id="wrapper"> - <noscript>Please enable JavaScript in your browser!</noscript>
\ No newline at end of file + <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> +</head> +<body> + <div class="full height"> + <noscript>Please enable JavaScript in your browser!</noscript> + <div class="following bar light"> + <div class="ui page grid"> + <div class="column"> + <div class="ui right floated secondary menu"> + {{if .ShowRegistrationButton}} + <a class="view-ui item {{if .PageIsSignUp}}active{{end}}" href="{{AppSubUrl}}/user/sign_up"><i class="octicon octicon-person-add"></i> {{.i18n.Tr "register"}}</a> + {{end}} + <a class="view-ui item {{if .PageIsSignIn}}active{{end}}" href="{{AppSubUrl}}/user/login"><i class="octicon octicon-sign-in"></i> {{.i18n.Tr "sign_in"}}</a> + </div> + <div class="ui secondary menu"> + <img class="img-15 ui image brand" src="{{AppSubUrl}}/img/favicon.png"> + <a class="view-ui item {{if .PageIsHome}}active{{end}}" href="{{AppSubUrl}}/">{{if .IsSigned}}{{.i18n.Tr "dashboard"}}{{else}}{{.i18n.Tr "home"}}{{end}}</a> + <a class="view-ui item {{if .PageIsExplore}}active{{end}}" href="{{AppSubUrl}}/explore">{{.i18n.Tr "explore"}}</a> + <a class="view-ui item" target="_blank" href="http://gogs.io/docs">{{.i18n.Tr "help"}}</a> + <!-- <div class="item"> + <div class="ui icon input"> + <input class="searchbox" type="text" placeholder="{{.i18n.Tr "search_project"}}"> + <i class="search icon"></i> + </div> + </div> --> + </div> + </div> + </div> + </div> diff --git a/templates/base/head_old.tmpl b/templates/base/head_old.tmpl new file mode 100644 index 0000000000..cb3951ea2c --- /dev/null +++ b/templates/base/head_old.tmpl @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html> + <head{{if AppSubUrl}} data-suburl="{{AppSubUrl}}"{{end}}> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"/> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/> + <meta name="author" content="Gogs - Go Git Service" /> + <meta name="description" content="Gogs(Go Git Service) is a GitHub-like clone in the Go Programming Language" /> + <meta name="keywords" content="go, git"> + <meta name="_csrf" content="{{.CsrfToken}}" /> + {{if .GoGetImport}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}} + + <!-- Stylesheets --> + {{if CdnMode}} + <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"> + <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet"> + + <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> + <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> + {{else}} + <link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/font-awesome.min.css" rel="stylesheet" /> + + <script src="{{AppSubUrl}}/js/jquery-1.10.1.min.js"></script> + <script src="{{AppSubUrl}}/js/bootstrap.min.js"></script> + {{end}} + + <link href="{{AppSubUrl}}/css/todc-bootstrap.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/datepicker3.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/bootstrap-colorpicker.min.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/markdown.css" rel="stylesheet" /> + <link href="{{AppSubUrl}}/css/gogs.css" rel="stylesheet" /> + + <script src="{{AppSubUrl}}/js/lib.js"></script> + <script src="{{AppSubUrl}}/js/app.js"></script> + <title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title> + </head> + <body> + <div id="wrapper"> + <noscript>Please enable JavaScript in your browser!</noscript>
\ No newline at end of file diff --git a/templates/home.tmpl b/templates/home.tmpl index 29865dbf9a..18b430d1fb 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -1,95 +1,130 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -<div id="promo-wrapper"> - <div class="container clear"> - <div id="promo-logo" class="left"> - <img src="{{AppSubUrl}}/img/gogs-lg.png" alt="logo" /> - </div> - <div id="promo-content"> - <h1>Gogs</h1> - <h2>{{.i18n.Tr "app_desc"}}</h2> - <form id="promo-form" action="{{AppSubUrl}}/user/login" method="post"> - {{.CsrfTokenHtml}} - <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"}}"/> - <input name="from" type="hidden" value="home"> - <button class="btn btn-black btn-large">{{.i18n.Tr "sign_in"}}</button> - {{if .ShowRegistrationButton}} - <button class="btn btn-green btn-large" id="register-button">{{.i18n.Tr "register"}}</button> - {{end}} - </form> - <div id="promo-social" class="social-buttons"> - {{template "ng/base/social" .}} - </div> - </div> - </div> +{{template "base/head" .}} +<div class="home"> + <div class="ui stackable middle very relaxed page grid"> + <div class="sixteen wide center aligned centered column"> + <div> + <img class="logo" src="{{AppSubUrl}}/img/gogs-lg.png" /> + </div> + <div class="hero"> + <h1 class="ui icon header title"> + Gogs - Go Git Service + </h1> + <h2>{{.i18n.Tr "app_desc"}}</h2> + </div> + </div> + <div class="ui divider"></div> + </div> + {{if eq .Lang "de-DE"}} + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-flame"></i> Einfach zu installieren + </h1> + <p class="large"> + 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> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-device-desktop"></i> Plattformübergreifend + </h1> + <p class="large"> + 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> + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-rocket"></i> Leichtgewicht + </h1> + <p class="large"> + Gogs hat minimale Systemanforderungen und kann selbst auf einem günstigen und stromsparenden Raspberry Pi betrieben werden. + </p> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-code"></i> Quelloffen + </h1> + <p class="large"> + 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> + </div> + {{else if eq .Lang "zh-CN"}} + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-flame"></i> 易安装 + </h1> + <p class="large"> + 您除了可以根据操作系统平台通过 <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> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-device-desktop"></i> 跨平台 + </h1> + <p class="large"> + 任何 <a target="_blank" href="http://golang.org/">Go 语言</a> 支持的平台都可以运行 Gogs,包括 Windows、Mac、Linux 以及 ARM。挑一个您喜欢的就行! + </p> + </div> + </div> + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-rocket"></i> 轻量级 + </h1> + <p class="large"> + 一个廉价的树莓派的配置足以满足 Gogs 的最低系统硬件要求。最大程度上节省您的服务器资源! + </p> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-code"></i> 开源化 + </h1> + <p class="large"> + 所有的代码都开源在 <a target="_blank" href="https://github.com/gogits/gogs/">GitHub</a> 上,赶快加入我们来共同发展这个伟大的项目!还等什么?成为贡献者吧! + </p> + </div> + </div> + {{else}} + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-flame"></i> Easy to install + </h1> + <p class="large"> + 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> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-device-desktop"></i> Cross-platform + </h1> + <p class="large"> + 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> + <div class="ui stackable middle very relaxed page grid"> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-rocket"></i> Lightweight + </h1> + <p class="large"> + Gogs has low minimal requirements and can run on an inexpensive Raspberry Pi. Save your machine energy! + </p> + </div> + <div class="eight wide center column"> + <h1 class="hero ui icon header"> + <i class="octicon octicon-code"></i> Open Source + </h1> + <p class="large"> + 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> + </div> + {{end}} </div> -<div id="feature-wrapper"> - <div class="container clear"> - {{if eq .Lang "de-DE"}} - <div class="grid-1-2 left"> - <i class="octicon octicon-flame"></i> - <b>Einfach zu installieren</b> - <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> - </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"}} - <div class="grid-1-2 left"> - <i class="octicon octicon-flame"></i> - <b>易安装</b> - <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> - </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> - <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> - </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" .}}
\ No newline at end of file +{{template "base/footer" .}}
\ No newline at end of file |