summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-11 17:54:00 +0800
committerUnknwon <u@gogs.io>2015-08-11 17:54:00 +0800
commit89c2bd4a0dd85261f72565ba8395644da8129fea (patch)
treecbd75644b3a7d83df8353fd93538564b8afa16fd /templates/base
parent17f3e840ec7e7dbff5d3d6e6da4e8347844f6817 (diff)
downloadgitea-89c2bd4a0dd85261f72565ba8395644da8129fea.tar.gz
gitea-89c2bd4a0dd85261f72565ba8395644da8129fea.zip
finish create issue attachment UI
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/head.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index 2c41782681..3fce362dc5 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -31,13 +31,18 @@
<script src="{{AppSubUrl}}/js/gogs.js?v={{AppVer}}"></script>
<!-- Third-party libraries -->
- {{if .PageIsLabels}}
+ {{if .RequireMinicolors}}
<link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors.css?v={{AppVer}}">
<script src="{{AppSubUrl}}/js/libs/jquery.minicolors.min.js?v={{AppVer}}"></script>
- {{else if .PageIsMilestones}}
+ {{end}}
+ {{if .RequireDatetimepicker}}
<link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.datetimepicker.css?v={{AppVer}}">
<script src="{{AppSubUrl}}/js/libs/jquery.datetimepicker.js?v={{AppVer}}"></script>
{{end}}
+ {{if .RequireDropzone}}
+ <link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone.css?v={{AppVer}}">
+ <script src="{{AppSubUrl}}/js/libs/dropzone.js?v={{AppVer}}"></script>
+ {{end}}
<title>{{if .Title}}{{.Title}} - {{end}}{{AppName}}</title>
</head>