aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-28 23:36:13 +0800
committerUnknwon <u@gogs.io>2015-08-28 23:36:13 +0800
commitf509c59ac13dffdff6a246572de04150ee295314 (patch)
tree3be3923779cedce3058f28f1d32604226985be03 /templates/base
parenta541ca16b67d492340ac55b84ff190d2a52fc39d (diff)
downloadgitea-f509c59ac13dffdff6a246572de04150ee295314.tar.gz
gitea-f509c59ac13dffdff6a246572de04150ee295314.zip
new create webhook event
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl18
-rw-r--r--templates/base/head.tmpl18
2 files changed, 18 insertions, 18 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index b643850889..a8176b50de 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -26,4 +26,22 @@
</div>
</footer>
</body>
+
+ <!-- Third-party libraries -->
+ {{if .RequireHighlightJS}}
+ <link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.7/default.css">
+ <script src="{{AppSubUrl}}/js/libs/highlight-8.7.pack.js"></script>
+ {{end}}
+ {{if .RequireMinicolors}}
+ <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors-2.1.12.css">
+ <script src="{{AppSubUrl}}/js/libs/jquery.minicolors-2.1.12.min.js"></script>
+ {{end}}
+ {{if .RequireDatetimepicker}}
+ <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.datetimepicker-2.4.5.css">
+ <script src="{{AppSubUrl}}/js/libs/jquery.datetimepicker-2.4.5.js"></script>
+ {{end}}
+ {{if .RequireDropzone}}
+ <link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone-4.0.1.css">
+ <script src="{{AppSubUrl}}/js/libs/dropzone-4.0.1.js"></script>
+ {{end}}
</html> \ No newline at end of file
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 8657a52362..ebf98b891d 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -25,24 +25,6 @@
<script src="{{AppSubUrl}}/js/semantic-2.0.8.min.js"></script>
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
- <!-- Third-party libraries -->
- {{if .RequireHighlightJS}}
- <link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.7/default.css">
- <script src="{{AppSubUrl}}/js/libs/highlight-8.7.pack.js"></script>
- {{end}}
- {{if .RequireMinicolors}}
- <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors-2.1.12.css">
- <script src="{{AppSubUrl}}/js/libs/jquery.minicolors-2.1.12.min.js"></script>
- {{end}}
- {{if .RequireDatetimepicker}}
- <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.datetimepicker-2.4.5.css">
- <script src="{{AppSubUrl}}/js/libs/jquery.datetimepicker-2.4.5.js"></script>
- {{end}}
- {{if .RequireDropzone}}
- <link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone-4.0.1.css">
- <script src="{{AppSubUrl}}/js/libs/dropzone-4.0.1.js"></script>
- {{end}}
-
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>
<body>