Просмотр исходного кода

add sr-only class, change to new tag line

tags/v0.9.99
Unknwon 9 лет назад
Родитель
Сommit
b6f8b486c7
11 измененных файлов: 48 добавлений и 957 удалений
  1. 1
    2
      .bra.toml
  2. 1
    1
      README.md
  3. 1
    1
      README_ZH.md
  4. 1
    1
      conf/locale/locale_en-US.ini
  5. 1
    1
      gogs.go
  6. 14
    14
      modules/bindata/bindata.go
  7. 1
    921
      public/css/gogs.min.css
  8. Двоичные данные
      public/img/favicon.bak.png
  9. 23
    2
      public/less/_base.less
  10. 1
    1
      templates/.VERSION
  11. 4
    13
      templates/base/footer.tmpl

+ 1
- 2
.bra.toml Просмотреть файл

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

+ 1
- 1
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)

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)


+ 1
- 1
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) 是一个基于 Go 语言的自助 Git 服务。
Gogs (Go Git Service) 是一款可轻易搭建的自助 Git 服务。

![Demo](http://gogs.qiniudn.com/gogs_demo.gif)


+ 1
- 1
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
dashboard = Dashboard

+ 1
- 1
gogs.go Просмотреть файл

@@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)

const APP_VER = "0.6.0.0319 Beta"
const APP_VER = "0.6.0.0320 Beta"

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

+ 14
- 14
modules/bindata/bindata.go
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


+ 1
- 921
public/css/gogs.min.css
Разница между файлами не показана из-за своего большого размера
Просмотреть файл


Двоичные данные
public/img/favicon.bak.png Просмотреть файл


+ 23
- 2
public/less/_base.less Просмотреть файл

@@ -1,6 +1,6 @@
@footer-margin: 40px;
@footer-margin: 40px;
body {
body {
font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';
background-color: #FFFFFF;
}
@@ -69,4 +69,25 @@ footer {
height: (2px * @i);
}
.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;
}

+ 1
- 1
templates/.VERSION Просмотреть файл

@@ -1 +1 @@
0.6.0.0319 Beta
0.6.0.0320 Beta

+ 4
- 13
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>
</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> -->
<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><span class="sr-only">Twitter</span></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><span class="sr-only">Sina Weibo</span></a>
<div class="ui language bottom pointing dropdown link item">
<i class="world icon"></i>
<div class="text">{{.LangName}}</div>

Загрузка…
Отмена
Сохранить