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.

67 lines
2.7 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 target="_blank" rel="noopener" href="https://gitea.io">{{.i18n.Tr "website"}}</a>
  26. {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
  27. </div>
  28. </div>
  29. </footer>
  30. <script src="{{AppSubUrl}}/js/jquery-1.11.3.min.js"></script>
  31. <script src="{{AppSubUrl}}/js/libs/jquery.are-you-sure.js"></script>
  32. {{if .RequireSimpleMDE}}
  33. <script src="{{AppSubUrl}}/plugins/simplemde-1.10.1/simplemde.min.js"></script>
  34. <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/addon/mode/loadmode.js"></script>
  35. <script src="{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/meta.js"></script>
  36. <script>
  37. CodeMirror.modeURL = "{{AppSubUrl}}/plugins/codemirror-5.17.0/mode/%N/%N.js";
  38. </script>
  39. {{end}}
  40. {{if .RequireGitGraph}}
  41. <!-- graph -->
  42. <script src="{{AppSubUrl}}/js/libs/gitgraph.js"></script>
  43. <script src="{{AppSubUrl}}/js/draw.js"></script>
  44. {{end}}
  45. <!-- JavaScript -->
  46. <script src="{{AppSubUrl}}/js/semantic-2.2.1.min.js"></script>
  47. <script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
  48. <!-- Third-party libraries -->
  49. {{if .RequireHighlightJS}}
  50. <script src="{{AppSubUrl}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
  51. {{end}}
  52. {{if .RequireMinicolors}}
  53. <script src="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
  54. {{end}}
  55. {{if .RequireDatetimepicker}}
  56. <script src="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
  57. {{end}}
  58. {{if .RequireDropzone}}
  59. <script src="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.js"></script>
  60. {{end}}
  61. <script src="{{AppSubUrl}}/js/libs/autolink.js"></script>
  62. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  63. <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
  64. </body>
  65. </html>