You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.8 KiB

9 years ago
9 years ago
9 years ago
9 years ago
  1. {{/*
  2. <html>
  3. <body>
  4. <div>
  5. */}}
  6. </div>
  7. <footer>
  8. <div class="ui container">
  9. <div class="ui left">
  10. © Gitea {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
  11. </div>
  12. <div class="ui right links">
  13. {{if .ShowFooterBranding}}
  14. <a target="_blank" rel="noopener" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
  15. {{end}}
  16. <div class="ui language bottom floating slide up dropdown link item">
  17. <i class="world icon"></i>
  18. <div class="text">{{.LangName}}</div>
  19. <div class="menu">
  20. {{range .AllLangs}}
  21. <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
  22. {{end}}
  23. </div>
  24. </div>
  25. <a href="{{AppSubUrl}}/assets/librejs/librejs.html" data-jslicense="1">Javascript licenses</a>
  26. <a target="_blank" rel="noopener" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
  27. {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
  28. </div>
  29. </div>
  30. </footer>
  31. <script src="{{AppSubUrl}}/js/jquery-1.11.3.min.js"></script>
  32. <script src="{{AppSubUrl}}/js/libs/jquery.are-you-sure.js"></script>
  33. {{if .RequireSimpleMDE}}
  34. <script src="{{AppSubUrl}}/plugins/simplemde-1.10.1/simplemde.min.js"></script>
  35. <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/addon/mode/loadmode.js"></script>
  36. <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/meta.js"></script>
  37. <script>
  38. CodeMirror.modeURL = "{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/%N/%N.js";
  39. </script>
  40. {{end}}
  41. {{if .RequireGitGraph}}
  42. <!-- graph -->
  43. <script src="{{AppSubUrl}}/js/libs/gitgraph.js"></script>
  44. <script src="{{AppSubUrl}}/js/draw.js"></script>
  45. {{end}}
  46. <!-- JavaScript -->
  47. <script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script>
  48. <script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
  49. <!-- Third-party libraries -->
  50. {{if .RequireHighlightJS}}
  51. <script src="{{AppSubUrl}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
  52. {{end}}
  53. {{if .RequireMinicolors}}
  54. <script src="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
  55. {{end}}
  56. {{if .RequireDatetimepicker}}
  57. <script src="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
  58. {{end}}
  59. {{if .RequireDropzone}}
  60. <script src="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.js"></script>
  61. {{end}}
  62. <script src="{{AppSubUrl}}/js/libs/autolink.js"></script>
  63. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  64. <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
  65. </body>
  66. </html>