diff options
author | Unknwon <u@gogs.io> | 2015-08-28 23:36:13 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-28 23:36:13 +0800 |
commit | f509c59ac13dffdff6a246572de04150ee295314 (patch) | |
tree | 3be3923779cedce3058f28f1d32604226985be03 /templates/base | |
parent | a541ca16b67d492340ac55b84ff190d2a52fc39d (diff) | |
download | gitea-f509c59ac13dffdff6a246572de04150ee295314.tar.gz gitea-f509c59ac13dffdff6a246572de04150ee295314.zip |
new create webhook event
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/footer.tmpl | 18 | ||||
-rw-r--r-- | templates/base/head.tmpl | 18 |
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> |