Browse Source

update UI framework

for-closed-social
Unknwon 9 years ago
parent
commit
ffd17924fd
12 changed files with 50 additions and 31 deletions
  1. +12
    -0
      README.md
  2. +12
    -0
      README_ZH.md
  3. +1
    -1
      gogs.go
  4. +2
    -2
      public/css/semantic.min.css
  5. +0
    -6
      public/js/jquery-1.10.1.min.js
  6. +0
    -1
      public/js/jquery-1.10.1.min.map
  7. +0
    -4
      public/js/jquery-1.11.2.min.js
  8. +5
    -0
      public/js/jquery-1.11.3.min.js
  9. +9
    -8
      public/js/semantic.min.js
  10. +1
    -1
      templates/.VERSION
  11. +6
    -6
      templates/base/head.tmpl
  12. +2
    -2
      templates/base/head_old.tmpl

+ 12
- 0
README.md View File

@ -59,6 +59,18 @@ The goal of this project is to make the easiest, fastest, and most painless way
- A cheap Raspberry Pi is powerful enough for basic functionality.
- At least 2 CPU cores and 1GB RAM would be the baseline for teamwork.
## Browser Support
According to [Semantic UI](https://github.com/Semantic-Org/Semantic-UI/tree/1.x):
- Last 2 Versions FF, Chrome, IE 10+
- Safari 6
- IE 9+ (Browser prefix only)
- Android 4
- Blackberry 10
Browser prefixes are present for Internet Explorer 9, but the browser is not officially supported.
## Installation
Make sure you install the [prerequisites](http://gogs.io/docs/installation/) first.

+ 12
- 0
README_ZH.md View File

@ -46,6 +46,18 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
- 最低的系统硬件要求为一个廉价的树莓派
- 如果用于团队项目,建议使用 2 核 CPU 及 1GB 内存
## 浏览器支持
根据 [Semantic UI](https://github.com/Semantic-Org/Semantic-UI/tree/1.x) 的要求:
- 最新两版的 FF、Chrome 和 IE 10+
- Safari 6
- IE 9+ (仅限浏览器前缀)
- Android 4
- Blackberry 10
尽管已经使用了 Internet Explorer 9 的浏览器前缀,但该版本的浏览器被没有被正式支持。
## 安装部署
在安装 Gogs 之前,您需要先安装 [基本环境](http://gogs.io/docs/installation/)。

+ 1
- 1
gogs.go View File

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

+ 2
- 2
public/css/semantic.min.css
File diff suppressed because it is too large
View File


+ 0
- 6
public/js/jquery-1.10.1.min.js
File diff suppressed because it is too large
View File


+ 0
- 1
public/js/jquery-1.10.1.min.map
File diff suppressed because it is too large
View File


+ 0
- 4
public/js/jquery-1.11.2.min.js
File diff suppressed because it is too large
View File


+ 5
- 0
public/js/jquery-1.11.3.min.js
File diff suppressed because it is too large
View File


+ 9
- 8
public/js/semantic.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
templates/.VERSION View File

@ -1 +1 @@
0.6.1.0703 Beta
0.6.1.0707 Beta

+ 6
- 6
templates/base/head.tmpl View File

@ -14,20 +14,20 @@
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
{{if CdnMode}}
<script src="//code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.3.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>
<script src="{{AppSubUrl}}/js/jquery-1.11.3.min.js"></script>
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
{{end}}
<!-- Stylesheet -->
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic.min.css">
<link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.min.css">
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic.min.css?v={{AppVer}}">
<link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.min.css?v={{AppVer}}">
<!-- JavaScript -->
<script src="{{AppSubUrl}}/js/semantic.min.js"></script>
<script src="{{AppSubUrl}}/js/gogs.js"></script>
<script src="{{AppSubUrl}}/js/semantic.min.js?v={{AppVer}}"></script>
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>

+ 2
- 2
templates/base/head_old.tmpl View File

@ -16,13 +16,13 @@
<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="//code.jquery.com/jquery-1.11.3.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/jquery-1.11.3.min.js"></script>
<script src="{{AppSubUrl}}/js/bootstrap.min.js"></script>
{{end}}

Loading…
Cancel
Save