mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
update UI framework
This commit is contained in:
parent
9af8a6c6a3
commit
ffd17924fd
12 changed files with 50 additions and 31 deletions
12
README.md
12
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.
|
- A cheap Raspberry Pi is powerful enough for basic functionality.
|
||||||
- At least 2 CPU cores and 1GB RAM would be the baseline for teamwork.
|
- 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
|
## Installation
|
||||||
|
|
||||||
Make sure you install the [prerequisites](http://gogs.io/docs/installation/) first.
|
Make sure you install the [prerequisites](http://gogs.io/docs/installation/) first.
|
||||||
|
|
12
README_ZH.md
12
README_ZH.md
|
@ -46,6 +46,18 @@ Gogs 的目标是打造一个最简单、最快速和最轻松的方式搭建自
|
||||||
- 最低的系统硬件要求为一个廉价的树莓派
|
- 最低的系统硬件要求为一个廉价的树莓派
|
||||||
- 如果用于团队项目,建议使用 2 核 CPU 及 1GB 内存
|
- 如果用于团队项目,建议使用 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/)。
|
在安装 Gogs 之前,您需要先安装 [基本环境](http://gogs.io/docs/installation/)。
|
||||||
|
|
2
gogs.go
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.1.0703 Beta"
|
const APP_VER = "0.6.1.0707 Beta"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
|
|
4
public/css/semantic.min.css
vendored
4
public/css/semantic.min.css
vendored
File diff suppressed because one or more lines are too long
6
public/js/jquery-1.10.1.min.js
vendored
6
public/js/jquery-1.10.1.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
public/js/jquery-1.11.2.min.js
vendored
4
public/js/jquery-1.11.2.min.js
vendored
File diff suppressed because one or more lines are too long
5
public/js/jquery-1.11.3.min.js
vendored
Normal file
5
public/js/jquery-1.11.3.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
17
public/js/semantic.min.js
vendored
17
public/js/semantic.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
0.6.1.0703 Beta
|
0.6.1.0707 Beta
|
|
@ -14,20 +14,20 @@
|
||||||
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
|
<link rel="shortcut icon" href="{{AppSubUrl}}/img/favicon.png" />
|
||||||
|
|
||||||
{{if CdnMode}}
|
{{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">
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
||||||
{{else}}
|
{{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">
|
<link rel="stylesheet" href="{{AppSubUrl}}/css/font-awesome.min.css">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
<!-- Stylesheet -->
|
<!-- Stylesheet -->
|
||||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic.min.css">
|
<link rel="stylesheet" href="{{AppSubUrl}}/css/semantic.min.css?v={{AppVer}}">
|
||||||
<link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.min.css">
|
<link rel="stylesheet" href="{{AppSubUrl}}/css/gogs.min.css?v={{AppVer}}">
|
||||||
|
|
||||||
<!-- JavaScript -->
|
<!-- JavaScript -->
|
||||||
<script src="{{AppSubUrl}}/js/semantic.min.js"></script>
|
<script src="{{AppSubUrl}}/js/semantic.min.js?v={{AppVer}}"></script>
|
||||||
<script src="{{AppSubUrl}}/js/gogs.js"></script>
|
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
|
||||||
|
|
||||||
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
|
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
|
<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 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>
|
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
|
||||||
{{else}}
|
{{else}}
|
||||||
<link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" />
|
<link href="{{AppSubUrl}}/css/bootstrap.min.css" rel="stylesheet" />
|
||||||
<link href="{{AppSubUrl}}/css/font-awesome.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>
|
<script src="{{AppSubUrl}}/js/bootstrap.min.js"></script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue