summaryrefslogtreecommitdiffstats
path: root/templates/ng
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-29 15:32:52 +0800
commit88291745747ffb200b55ca62e1054d1d2c4315d3 (patch)
tree493d0cfe13d53c0720a25d30ced2b0d8d4f39d1a /templates/ng
parent6558990e3a1e3d5aac595e0f0b525a834d708647 (diff)
downloadgitea-88291745747ffb200b55ca62e1054d1d2c4315d3.tar.gz
gitea-88291745747ffb200b55ca62e1054d1d2c4315d3.zip
Finish new admin users pages
Diffstat (limited to 'templates/ng')
-rw-r--r--templates/ng/base/head.tmpl13
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/ng/base/head.tmpl b/templates/ng/base/head.tmpl
index 817c18807a..815453446a 100644
--- a/templates/ng/base/head.tmpl
+++ b/templates/ng/base/head.tmpl
@@ -7,19 +7,26 @@
<meta name="description" content="Gogs(Go Git Service) a painless self-hosted Git Service written in Go" />
<meta name="keywords" content="go, git, self-hosted, gogs">
<meta name="_csrf" content="{{.CsrfToken}}" />
+ {{if .Repository.IsGoget}}<meta name="go-import" content="{{.GoGetImport}} git {{.CloneLink.HTTPS}}">{{end}}
<link rel="shortcut icon" href="/img/favicon.png" />
+ {{if CdnMode}}
+ <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
+
+ <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
+ {{else}}
+ <link rel="stylesheet" href="/css/font-awesome.min.css">
+
+ <script src="/ng/js/lib/jquery-1.11.1.min.js"></script>
+ {{end}}
<!-- Stylesheet -->
<link rel="stylesheet" href="/ng/css/ui.css">
<link rel="stylesheet" href="/ng/css/gogs.css">
- <link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/ng/fonts/octicons.css">
- <!-- <link rel="stylesheet" href="http://cdn.bootcss.com/highlight.js/8.1/styles/github.min.css"> -->
<link rel="stylesheet" href="/css/github.min.css">
<!-- JavaScript -->
- <script src="/ng/js/lib/jquery-1.11.1.min.js"></script>
<script src="/ng/js/lib/tabs.js"></script>
<script src="/ng/js/lib/lib.js"></script>
<script src="/ng/js/gogs.js"></script>