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.

52 lines
2.2 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. © 2016 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. </body>
  31. <!-- Third-party libraries -->
  32. {{if .RequireHighlightJS}}
  33. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/highlight-9.6.0/github.css">
  34. <script src="{{AppSubUrl}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
  35. {{end}}
  36. {{if .RequireMinicolors}}
  37. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">
  38. <script src="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
  39. {{end}}
  40. {{if .RequireDatetimepicker}}
  41. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.css">
  42. <script src="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
  43. {{end}}
  44. {{if .RequireDropzone}}
  45. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.css">
  46. <script src="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.js"></script>
  47. {{end}}
  48. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  49. <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
  50. </html>