summaryrefslogtreecommitdiffstats
path: root/templates/base
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-03-17 20:08:15 +0100
committerGitHub <noreply@github.com>2020-03-17 15:08:15 -0400
commit85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4 (patch)
tree336f0d1af2a5ab1180d84f23c1ca58351d69222c /templates/base
parent43c09134a972dc421aa06fb303697671c828cf67 (diff)
downloadgitea-85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4.tar.gz
gitea-85fb33a65ffa9d5f0c073a01fcb5a7ef1b7311a4.zip
move jquery-datetimepicker to npm/webpack (#10713)
- update to latest version and move to npm - adapt for api changes and css class rename - add specificity to arc-green rules as dependency css now loads later - use imports-loader to make it load correctly - fix some wrong paths in librejs Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/base')
-rw-r--r--templates/base/footer.tmpl3
-rw-r--r--templates/base/head.tmpl4
2 files changed, 0 insertions, 7 deletions
diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl
index 9b54d9b2a8..083f44a368 100644
--- a/templates/base/footer.tmpl
+++ b/templates/base/footer.tmpl
@@ -26,9 +26,6 @@
{{if .RequireMinicolors}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js"></script>
{{end}}
-{{if .RequireDatetimepicker}}
- <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.js"></script>
-{{end}}
{{if .RequireU2F}}
<script src="{{StaticUrlPrefix}}/vendor/plugins/u2f/index.js"></script>
{{end}}
diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl
index cdffbbc2f1..e0765d59d3 100644
--- a/templates/base/head.tmpl
+++ b/templates/base/head.tmpl
@@ -87,7 +87,6 @@
AppSubUrl: '{{AppSubUrl}}',
StaticUrlPrefix: '{{StaticUrlPrefix}}',
csrf: '{{.CsrfToken}}',
- Datetimepicker: {{if .RequireDatetimepicker}}true{{else}}false{{end}},
HighlightJS: {{if .RequireHighlightJS}}true{{else}}false{{end}},
Minicolors: {{if .RequireMinicolors}}true{{else}}false{{end}},
SimpleMDE: {{if .RequireSimpleMDE}}true{{else}}false{{end}},
@@ -121,9 +120,6 @@
{{if .RequireMinicolors}}
<link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/jquery.minicolors/jquery.minicolors.css">
{{end}}
-{{if .RequireDatetimepicker}}
- <link rel="stylesheet" href="{{StaticUrlPrefix}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.css">
-{{end}}
<style class="list-search-style"></style>
{{if .PageIsUserProfile}}
<meta property="og:title" content="{{.Owner.Name}}" />