Browse Source

update UI framework

Unknwon 9 years ago
parent
commit
ffd17924fd

+ 12 - 0
README.md

@@ -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

@@ -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

@@ -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())

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


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


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


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


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


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


+ 1 - 1
templates/.VERSION

@@ -1 +1 @@
-0.6.1.0703 Beta
+0.6.1.0707 Beta

+ 6 - 6
templates/base/head.tmpl

@@ -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

@@ -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}}
 

Some files were not shown because too many files changed in this diff