Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

footer.tmpl 3.0KB

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