Browse Source

add sr-only class, change to new tag line

pull/1105/head
Unknwon 10 years ago
parent
commit
b6f8b486c7
  1. 3
      .bra.toml
  2. 2
      README.md
  3. 2
      README_ZH.md
  4. 2
      conf/locale/locale_en-US.ini
  5. 2
      gogs.go
  6. 28
      modules/bindata/bindata.go
  7. 922
      public/css/gogs.min.css
  8. BIN
      public/img/favicon.bak.png
  9. 25
      public/less/_base.less
  10. 2
      templates/.VERSION
  11. 17
      templates/base/footer.tmpl

3
.bra.toml

@ -5,13 +5,12 @@ init_cmds = [
] ]
watch_all = true watch_all = true
watch_dirs = [ watch_dirs = [
"$WORKDIR/conf/locale",
"$WORKDIR/cmd", "$WORKDIR/cmd",
"$WORKDIR/models", "$WORKDIR/models",
"$WORKDIR/modules", "$WORKDIR/modules",
"$WORKDIR/routers" "$WORKDIR/routers"
] ]
watch_exts = [".go", ".ini"] watch_exts = [".go"]
build_delay = 1500 build_delay = 1500
cmds = [ cmds = [
#["go-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."], #["go-bindata", "-o=modules/bindata/bindata.go", "-ignore=\\.DS_Store|README", "-pkg=bindata", "conf/..."],

2
README.md

@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gogits/gogs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Gogs (Go Git Service) is a painless self-hosted Git service written in Go. Gogs (Go Git Service) is a painless self-hosted Git service.
![Demo](http://gogs.qiniudn.com/gogs_demo.gif) ![Demo](http://gogs.qiniudn.com/gogs_demo.gif)

2
README_ZH.md

@ -1,7 +1,7 @@
Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs) Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?branch=master)](https://travis-ci.org/gogits/gogs)
===================== =====================
Gogs(Go Git Service) 是一个基于 Go 语言的自助 Git 服务。 Gogs (Go Git Service) 是一款可轻易搭建的自助 Git 服务。
![Demo](http://gogs.qiniudn.com/gogs_demo.gif) ![Demo](http://gogs.qiniudn.com/gogs_demo.gif)

2
conf/locale/locale_en-US.ini

@ -1,4 +1,4 @@
app_desc = A painless self-hosted Git service written in Go app_desc = A painless self-hosted Git service
home = Home home = Home
dashboard = Dashboard dashboard = Dashboard

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting" "github.com/gogits/gogs/modules/setting"
) )
const APP_VER = "0.6.0.0319 Beta" const APP_VER = "0.6.0.0320 Beta"
func init() { func init() {
runtime.GOMAXPROCS(runtime.NumCPU()) runtime.GOMAXPROCS(runtime.NumCPU())

28
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long

922
public/css/gogs.min.css vendored

File diff suppressed because one or more lines are too long

BIN
public/img/favicon.bak.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

25
public/less/_base.less

@ -1,6 +1,6 @@
@footer-margin: 40px; @footer-margin: 40px;
body { body {
font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑'; font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
background-color: #FFFFFF; background-color: #FFFFFF;
} }
@ -70,3 +70,24 @@ footer {
} }
.generate-img(@n, (@i + 1)); .generate-img(@n, (@i + 1));
} }
// Accessibility
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}

2
templates/.VERSION

@ -1 +1 @@
0.6.0.0319 Beta 0.6.0.0320 Beta

17
templates/base/footer.tmpl

@ -5,19 +5,10 @@
© 2015 Gogs · {{.i18n.Tr "version"}}: {{AppVer}} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> · {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong> © 2015 Gogs · {{.i18n.Tr "version"}}: {{AppVer}} · {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> · {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
</div> </div>
<div class="ui right links"> <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://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
<a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i></a> <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
<a target="_blank" href="https://plus.google.com/communities/115599856376145964459"><i class="fa fa-google-plus"></i></a> <a target="_blank" href="https://plus.google.com/communities/115599856376145964459"><i class="fa fa-google-plus"></i><span class="sr-only">Google Plus</span></a>
<a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i></a> <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></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"> <div class="ui language bottom pointing dropdown link item">
<i class="world icon"></i> <i class="world icon"></i>
<div class="text">{{.LangName}}</div> <div class="text">{{.LangName}}</div>

Loading…
Cancel
Save