diff options
author | Unknwon <u@gogs.io> | 2015-07-07 13:51:28 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-07-07 13:51:28 +0800 |
commit | ffd17924fd0b2f3a6f7f9b82f7193462a150a4b7 (patch) | |
tree | 4e76c4dc78848a2b25b6ce0601cc21b5fd309ecf /templates/base | |
parent | 9af8a6c6a36e03219473f083c774a411a0af1d38 (diff) | |
download | gitea-ffd17924fd0b2f3a6f7f9b82f7193462a150a4b7.tar.gz gitea-ffd17924fd0b2f3a6f7f9b82f7193462a150a4b7.zip |
update UI framework
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/head.tmpl | 12 | ||||
-rw-r--r-- | templates/base/head_old.tmpl | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index ef6ad56a6c..f522a8f129 100644 --- a/templates/base/head.tmpl +++ b/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> diff --git a/templates/base/head_old.tmpl b/templates/base/head_old.tmpl index cb3951ea2c..e04fe2e1a7 100644 --- a/templates/base/head_old.tmpl +++ b/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}} |